RealGrid2 API
Interface
GridOptions

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

PropertyTypeDescription
checkBarCheckBarConfiguration model related to checkbars
copyCopyOptionsConfiguration model for copying grid contents to the clipboard
dataDropDataDropOptionsConfiguration model for handling data dragged from the grid
displayDisplayOptionsConfiguration model for display information managed at the grid level
editEditOptionsConfiguration model for data editing in the grid
editorEditorOptionsConfiguration model for editor information managed at the grid level
filteringFilteringOptionsConfiguration model related to column filtering
filterModeFilterModeFilter operation mode after data modification
filterPanelFilterPanelInline filter pane configuration information
fixedFixedOptionsConfiguration model for the grid's fixed row and column areas
footerGridFooterSingle configuration model for the footer area
footersGridFooterCollectionCollection model for the grid footer area
formatFormatOptionsConfiguration model for the conversion format of data field values
headerGridHeaderConfiguration model for the header area
headerSummariesHeaderSummaryCollectionCollection model for the header summary area
headerSummaryHeaderSummarySingle configuration model for the header summary area
hideDeletedRowsbooleanWhether to hide deleted rows when the DataProvider's softDeleting is true
mobileMobileOptions
pastePasteOptionsConfiguration model for pasting data from the clipboard into the grid
rowIndicatorRowIndicatorConfiguration model for the grid's indicator
sortingSortingOptionsConfiguration model for data sorting
sortModeSortModeSorting behavior mode after data modification
stateBarStateBarConfiguration model related to the status bar that displays the status of rows
summaryModeSummaryModeHow to calculate the sum of each column in the grid
undoablebooleanWhether 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.