-
Notifications
You must be signed in to change notification settings - Fork 423
Column Options
The following is an incomplete list of column options:
id : object
An object that can be used to identify this row.
name : string
The name that will be used for the column header, and lookups.
field : string
The property of each data item that will be used to supply the grid with data.
formatter : function
A function that accepts the data item and returns an HTML string:
function(row,cell,value,columnDef,dataContext){ return ''+value.anInterestingProperty+''; }
editor: function
A function that accepts args and returns an object with a set of required functions. (See 'writing custom editors'):https://github.com/mleibman/SlickGrid/wiki/Writing-custom-cell-editors
width : integer
Absolute width when the grid has forceFill set to false, effectively relative width when forceFill is true.
sortable : bool
Indicates that SlickGrid should fire sort events when the column header is clicked for this column.
SlickGrid Repo
- Home
- The SlickGrid Manifesto
- The SlickGrid Community
- BugFix List
- Enhancement List
- Sharing Sample Pages
- Announcement & Migration to 3.0.0
- Announcement & Migration to 4.0.0
- Announcement & Migration to 5.0.0
Jump Start
Resources
- API Reference
- Grid
- Grid Options
- Auto Column Sizing
- Column Options
- Grid Events
- DataView
- DataView Events
- Providing data to the grid
- Plugins & Third-party packages
- CSP Compliance
Learning
Tests
Contact/Support