Interface GridOptions

Index

Properties

Properties

optional public asyncEditorLoadDelay?: number

Delay after which cell editor is loaded. Ignored unless asyncEditorLoading is true.

optional public asyncEditorLoading?: boolean

Makes cell editors load asynchronously after a small delay. This greatly increases keyboard navigation speed.

optional public asyncPostRenderDelay?: number

optional public autoEdit?: boolean

Cell will not automatically go into edit mode when selected.

optional public autoHeight?: boolean

optional public cellFlashingCssClass?: string

A CSS class to apply to flashing cells via flashCell().

optional public cellHighlightCssClass?: string

A CSS class to apply to cells highlighted via setHighlightedCells().

optional public dataItemColumnValueExtractor?: any

optional public defaultColumnWidth?: number

optional public defaultFormatter?: Formatter

optional public editCommandHandler?: any

Not listed as a default under options in slick.grid.js

optional public editable?: boolean

optional public editorFactory?: EditorFactory

A factory object responsible to creating an editor for a given cell. Must implement getEditor(column).

optional public editorLock?: EditorLock

A Slick.EditorLock instance to use for controlling concurrent data edits.

optional public enableAddRow?: boolean

If true, a blank row will be displayed at the bottom - typing values in that row will add a new one. Must subscribe to onAddNewRow to save values.

optional public enableAsyncPostRender?: boolean

If true, async post rendering will occur and asyncPostRender delegates on columns will be called.

optional public enableCellNavigation?: boolean

Appears to enable cell virtualisation for optimised speed with large datasets

optional public enableCellRangeSelection?: any

WARNING: Not contained in SlickGrid 2.1, may be deprecated

optional public enableColumnReorder?: boolean

optional public enableRowReordering?: any

WARNING: Not contained in SlickGrid 2.1, may be deprecated

optional public enableTextSelectionOnCells?: boolean

optional public explicitInitialization?: boolean

see

Example: Explicit Initialization

optional public forceFitColumns?: boolean

Force column sizes to fit into the container (preventing horizontal scrolling). Effectively sets column width to be 1/Number of Columns which on small containers may not be desirable

optional public forceSyncScrolling?: boolean

optional public formatterFactory?: FormatterFactory

A factory object responsible to creating a formatter for a given cell. Must implement getFormatter(column).

optional public fullWidthRows?: boolean

Will expand the table row divs to the full width of the container, table cell divs will remain aligned to the left

optional public headerRowHeight?: number

optional public leaveSpaceForNewRows?: boolean

optional public multiColumnSort?: boolean

see

Example: Multi-Column Sort

optional public multiSelect?: boolean

optional public rowHeight?: number

optional public selectedCellCssClass?: string

optional public showHeaderRow?: boolean

optional public syncColumnCellResize?: boolean

If true, the column being resized will change its width as the mouse is dragging the resize handle. If false, the column will resize after mouse drag ends.

optional public topPanelHeight?: number