GridOptions
Complete grid configuration information
Signature:
export interface GridOptions
Remarks
Resetting subcomponents is not possible with GridBase.getOptions().
Resetting subcomponents is possible with GridBase.setOptions().
Practical use is in GridView and TreeView.
Example
let options = {
summaryMode: 'aggregate',
display: {
columnResizable : false
}
};
gridView.setOptions(options);
Properties
Property | Type | Description |
---|---|---|
checkBar | CheckBar | Configuration model related to checkbars |
copy | CopyOptions | Configuration model for copying grid contents to the clipboard |
dataDrop | DataDropOptions | Configuration model for handling data dragged from the grid |
display | DisplayOptions | Configuration model for display information managed at the grid level |
edit | EditOptions | Configuration model for data editing in the grid |
editor | EditorOptions | Configuration model for editor information managed at the grid level |
filtering | FilteringOptions | Configuration model related to column filtering |
filterMode | FilterMode | Filter operation mode after data modification |
filterPanel | FilterPanel | Inline filter pane configuration information |
fixed | FixedOptions | Configuration model for the grid's fixed row and column areas |
footer | GridFooter | Single configuration model for the footer area |
footers | GridFooterCollection | Collection model for the grid footer area |
format | FormatOptions | Configuration model for the conversion format of data field values |
header | GridHeader | Configuration model for the header area |
headerSummaries | HeaderSummaryCollection | Collection model for the header summary area |
headerSummary | HeaderSummary | Single configuration model for the header summary area |
hideDeletedRows | boolean | Whether to hide deleted rows when the DataProvider's softDeleting is true |
mobile | MobileOptions | |
paste | PasteOptions | Configuration model for pasting data from the clipboard into the grid |
rowIndicator | RowIndicator | Configuration model for the grid's indicator |
sorting | SortingOptions | Configuration model for data sorting |
sortMode | SortMode | Sorting behavior mode after data modification |
stateBar | StateBar | Configuration model related to the status bar that displays the status of rows |
summaryMode | SummaryMode | How to calculate the sum of each column in the grid |
undoable | boolean | Whether to undo grid edits |
Properties Desc
checkBar
Configuration model related to checkbars
Type
- CheckBar
copy
Configuration model for copying grid contents to the clipboard
Type
- CopyOptions
dataDrop
Configuration model for handling data dragged from the grid
Type
- DataDropOptions
display
Configuration model for display information managed at the grid level
Type
- DisplayOptions
edit
Configuration model for editing data in the grid
Type
- EditOptions
editor
Configuration model for editor information managed at the grid level.
Type
- EditorOptions
filtering
Configuration model related to column filtering.
Type
- FilteringOptions
filterMode
Filter operation mode after data modification.
Type
- FilterMode
filterPanel
Inline filter window configuration information.
Type
- FilterPanel
fixed
Configuration model for the grid's fixed row and column areas.
Type
- FixedOptions
footer
A single configuration model for the footer area.
Type
- GridFooter
footers
A collection model for the grid footer area.
Type
- GridFooterCollection
format
Configuration model for the conversion format of data field values
Type
- FormatOptions
header
Configuration model for the header area
Type
- GridHeader
headerSummaries
Collection model for the header summary area
Type
- HeaderSummaryCollection
headerSummary
A single configuration model for the header summary area
Type
- HeaderSummary
hideDeletedRows
Whether deleted rows are hidden when the DataProvider's softDelete is true
Type
- boolean
mobile
Type
- MobileOptions
paste
Configuration model for pasting data from the clipboard into the grid
Type
- PasteOptions
rowIndicator
Configuration model for the grid's indicator
Type
- RowIndicator
sorting
Configuration model for data sorting
Type
- SortingOptions
sortMode
Sorting mode after data modification
Type
- SortMode
stateBar
Configuration model related to the status bar displaying the row status.
Type
- StateBar
summaryMode
How to calculate the sum of each column in the grid.
Type
- SummaryMode
undoable
Whether grid edits can be undo'd.
Type
- boolean
Remarks:
If true
, edits can be undoed/redoed before commit.