Class JqGridSubgridModel
Class which represents subgrid model for jqGrid.
Namespace: Lib.AspNetCore.Mvc.JqGrid.Infrastructure.Options.Subgrid
Assembly: Lib.AspNetCore.Mvc.JqGrid.Infrastructure.dll
Syntax
public class JqGridSubgridModel : object
Properties
ColumnsModels
Gets the list of columns parameters descriptions.
Declaration
public IReadOnlyList<JqGridSubgridColumnModel> ColumnsModels { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<JqGridSubgridColumnModel> |
Parameters
The names from main grid's column model to pass as additional parameter to the sub grid url.
Declaration
public IList<string> Parameters { get; }
Property Value
| Type | Description |
|---|---|
| IList<System.String> |
Methods
AddColumn(JqGridSubgridColumnModel)
Adds column to model.
Declaration
public void AddColumn(JqGridSubgridColumnModel columnModel)
Parameters
| Type | Name | Description |
|---|---|---|
| JqGridSubgridColumnModel | columnModel | The column model. |