-
Notifications
You must be signed in to change notification settings - Fork 2k
Column Options
dariusk edited this page Feb 28, 2013
·
25 revisions
Options which you can apply to the columns objects.
| Option | Default | Description |
|---|---|---|
| cssClass | ”” | Accepts a string as a class name, applies that class to every row cell in the column. |
| defaultSortAsc | true | When set to true, the first user click on the header will do a descending sort. When set to false, the first user click on the header will do an ascending sort. |
| editor | null | The editor for cell edits {TextEditor, IntegerEditor, DateEditor…} See slick.editors.js |
| field | ”” | The property name in the data object to pull content from. (This is assumed to be on the root of the data object.) |
| focusable | ||
| formatter | null | |
| headerCssClass | null | Accepts a string as a class name, applies that class to the cell for the column header. |
| id | ”” | A unique identifier for the column within the grid |
| maxWidth | null | |
| minWidth | 30 | |
| name | ”” | The text to display on the column heading |
| rerenderOnResize | false | |
| resizable | true | |
| selectable | ||
| sortable | false | |
| toolTip | ”” | |
| width |
Resources
- API Reference
- Grid
- Grid Options
- Column Options
- Grid Events
- DataView
- Examples
- Providing data to the grid
- Plugins & Third-party packages
Learning
Tests
Contact/Support