SlickGrid Options
Grid Options
As included in the examples or described in stable releases.
Booleans:
- autoEdit Cell will not automatically go into edit mode when selected.
- autoHeight
- editable
- enableAddRow If true, a blank row will be displayed at the bottom - typing values in that row will add a new one.
- enableAsyncPostRender If true, async post rendering will occur and asyncPostRender delegates on columns will be called.
- enableCellNavigation
- enableColumnReorder
- enableRowReordering
- forceFitColumns Force column sizes to fit into the viewport (avoid horizontal scrolling).
- showHeaderRow
- leaveSpaceForNewRows
- enableCellRangeSelection
- asyncEditorLoading Makes cell editors load asynchronously after a small delay. This greatly increases keyboard navigation speed.
- multiSelect
- enableTextSelectionOnCells
- explicitInitialization (http://mleibman.github.com/SlickGrid/examples/example-explicit-initialization.html)
- multiColumnSort (http://mleibman.github.com/SlickGrid/examples/example-multi-column-sort.html)
Others (with sample values)
- cellFlashingCssClass: "flashing" A CSS class to apply to flashing cells via flashCell().
- cellHighlightCssClass: "selected" A CSS class to apply to cells highlighted via setHighlightedCells().
- editCommandHandler: queueAndExecuteCommand
- rowHeight: 140
- topPanelHeight: 25
- defaultColumnWidth: 80
- asyncEditorLoadDelay: 100 Delay after which cell editor is loaded. Ignored unless asyncEditorLoading is true.
- asyncPostRenderDelay: 60 Delay after which async post renderer delegate is called.
- editorLock: A Slick.EditorLock instance to use for controlling concurrent data edits.
- headerRowHeight: 25
- formatterFactory: A factory object responsible to creating a formatter for a given cell. Must implement getFormatter(column).
- editorFactory: A factory object responsible to creating an editor for a given cell. Must implement getEditor(column).
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步