Interface ColDefBase
Definition
export interface ColDefBase<ValueType = any> Comments
Properties to a define a column that is shared between community and pro editions.
Type Parameters
| Name | Extends | Default Value | Comments |
|---|---|---|---|
| ValueType | (None) | any | the type of the value of the column (e.g. string, number, or Date) |
Properties
| Name | Optional | Definition | Comment |
|---|---|---|---|
| formatter | true | (value: ValueType) => string | The formatter function for the column. |
| label | false | string | The display name of the property in places like the column heading. |
| name | false | string | The name of the property for the column in the RowDef object. |
| sortable | true | boolean | Specifies whether the column is sortable. @defaultValue |
| type | false | ColDataTypeStrings | String that specifies the data type of the column. |