Language/Javascript

Slickgrid grid options

TechNote.kr 2015. 11. 16. 11:09
728x90

Slickgrid grid options


OptionDefaultDescription
asyncEditorLoadingfalseMakes cell editors load asynchronously after a small delay. This greatly increases keyboard navigation speed.
asyncEditorLoadDelay100Delay after which cell editor is loaded. Ignored unless asyncEditorLoading is true.
asyncPostRenderDelay50
autoEdittrueCell will not automatically go into edit mode when selected.
autoHeightfalseThis disables vertical scrolling.
cellFlashingCssClass“flashing”A CSS class to apply to flashing cells via flashCell().
cellHighlightCssClass“selected”A CSS class to apply to cells highlighted via setHighlightedCells().
dataItemColumnValueExtractornull
defaultColumnWidth80
defaultFormatterdefaultFormatter
editablefalse
editCommandHandlerqueueAndExecuteCommandNot listed as a default under options in slick.grid.js
editorFactorynullA factory object responsible to creating an editor for a given cell. Must implement getEditor(column).
editorLockSlick.GlobalEditorLockA Slick.EditorLock instance to use for controlling concurrent data edits.
enableAddRowfalseIf 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.
enableAsyncPostRenderfalseIf true, async post rendering will occur and asyncPostRender delegates on columns will be called.
enableCellRangeSelectionnull**WARNING**: Not contained in SlickGrid 2.1, may be deprecated
enableCellNavigationtrue

Appears to enable cell virtualisation for optimised speed with large datasets

true일 경우 cell 선택이 가능하고, 선택된 cell은 keypad로 이동이 가능하다.

enableColumnReordertrue

true 일 경우 "SlickGrid's "enableColumnReorder = true" option requires jquery-ui.sortable module to be loaded" exception 발생하고 slickgrid 표시되지 않음.

enableRowReorderingnull**WARNING**: Not contained in SlickGrid 2.1, may be deprecated
enableTextSelectionOnCellsfalse
explicitInitializationfalseSee: Example: Explicit Initialization
forceFitColumnsfalseForce 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
forceSyncScrollingfalse
formatterFactorynullA factory object responsible to creating a formatter for a given cell. Must implement getFormatter(column).
fullWidthRowsfalseWill expand the table row divs to the full width of the container, table cell divs will remain aligned to the left
headerRowHeight25
leaveSpaceForNewRowsfalse
multiColumnSortfalseSee: Example: Multi-Column Sort
multiSelecttrue
rowHeight25
selectedCellCssClass“selected”
showHeaderRowfalse


syncColumnCellResizefalseIf 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.
topPanelHeight25



Reference


https://github.com/mleibman/SlickGrid/wiki/Grid-Options



728x90

'Language > Javascript' 카테고리의 다른 글

[Javascript] 코드 동작 확인 방법  (0) 2022.06.20
javascript is eating the world.  (0) 2015.12.23
ajax POST debugging 방법  (0) 2015.12.12
ajax를 이용한 async post data 저장  (0) 2015.11.16
Slickgrid example1-simple.html 분석  (0) 2015.11.16
ajax  (0) 2015.11.02
Closure - 클로저  (0) 2015.10.25
Grid - Slickgrid  (0) 2015.10.24