core/data-grid/data-grid.model.ts
Describes a data grid column.
Properties |
|
cellCSSClassName |
cellCSSClassName:
|
Type : string | string[]
|
Optional |
Additional CSS classes for data cells. |
cellRendererComponent |
cellRendererComponent:
|
Type : Type<any>
|
Optional |
Custom data cell renderer component. Inject |
custom |
custom:
|
Type : boolean
|
Optional |
Marks a user configured custom column |
dataType |
dataType:
|
Type : ColumnDataType
|
Optional |
Optional type of data in the column (used to set data-type attribute, e.g. for additional styling). |
externalFilterQuery |
externalFilterQuery:
|
Type : any
|
Optional |
Custom filtering form renderer can set any value here and it can be used to build a query to the server. |
filterable |
filterable:
|
Type : boolean
|
Optional |
Whether the column is filterable. |
filteringConfig |
filteringConfig:
|
Type : FormlyColumnFilteringConfig
|
Optional |
filterPredicate |
filterPredicate:
|
Type : string | FilterPredicateFunction
|
Optional |
The string to search for or a function for client-side filtering. |
gridTrackSize |
gridTrackSize:
|
Type : string
|
Optional |
The column's size, e.g. "40 px". |
header |
header:
|
Type : string
|
Optional |
The column's header (if not given, |
headerCSSClassName |
headerCSSClassName:
|
Type : string | string[]
|
Optional |
Additional CSS classes for the header cell. |
name |
name:
|
Type : string | SpecialColumnName
|
The name for the column. |
path |
path:
|
Type : string
|
Optional |
The path in a row item to read the cell value from. |
positionFixed |
positionFixed:
|
Type : boolean
|
Optional |
Whether the column can be moved to another position. |
resizable |
resizable:
|
Type : boolean
|
Optional |
Whether the column can be resized. |
sortable |
sortable:
|
Type : boolean
|
Optional |
Whether the column is sortable. |
sortingConfig |
sortingConfig:
|
Type : ColumnSortingConfig
|
Optional |
sortOrder |
sortOrder:
|
Type : SortOrder
|
Optional |
Whether the sort order is ascending, descending or not specified. |
visible |
visible:
|
Type : boolean
|
Optional |
Whether the column is displayed. |