cpr.controls.gridpart.GridProperty

Index

Properties
Name Type Description
autoFit String Automatically resize the cell to fit the width of the specified area.
autoRowHeight String Automatically adjust row height to fit cell data length.
bottomSplit Number Sets the number of rows fixed at the bottom of the Detail area.
bottomSplitHeight Number Default height of the area to be fixed at the bottom of the detail area (px).
caption String Grid description.
clickMode String Set the click action.
collapsible Boolean Set to fold the group when using a rowgroup.
columnMovable Boolean Whether the grid column can be moved.
dataSet DataCollection Dataset or dataview ID to be connected to the grid.
defaultSortMode SORTMODE Set the default behavior when clicking on a header that supports multiple sorting.
enabledCellAutoWidth Boolean Whether to automatically adjust the width of the cell to fit the width of the text displayed when double-clicking the width adjustment area of ​​a cell for which resizable is true.
filterDialogButtons FilterDialogButton[] Sets the button order list for the filter popup.
hScroll String Horizontal scroll style.
leftSplit Number Number of cells to be fixed (split) to the left of the grid.
leftSplitWidth Number The width of the area to be fixed (split) to the left of the grid (px).
pasteMode String Set the paste (ctrl + v) method.
pasteValidation Boolean Sets whether to check validity when pasting (ctrl + v).
resizableColumns String Set whether to adjust the grid column width.
rightSplit Number Number of cells to be fixed (split) to the right of the grid.
rightSplitWidth Number The width of the area to be fixed (split) to the right of the grid (px).
rowIndexerStartNum Number Start index of the row index displayed on the grid.
selectionMulti String Multiple selection.
selectionUnit String Unit from which grid can be selected.
showDeletedRow Boolean Whether to show deleted rows.
showExtraRow Boolean If the detail area is not full of data rows, Sets whether to fill grid lines in the margins.
suppressedCellEditMode SuppressedCellEditMode When editing suppressed detail cells, set whether to modify only the values ​​in the edit row or change the values ​​of all cells that are suppressed.
suppressedCellType String Decide whether to display the suppressed detail cell as split or merged.
tabMode TabMode Set the tab movement method.
topSplit Number Sets the number of rows fixed at the top of the Detail area.
topSplitHeight Number Default height of the area to be fixed on top of the detail area (px).
vScroll String Vertical scroll style.
viewingMode ViewingMode Set the grid viewing mode.
wheelRowCount Number Number of rows to scroll at a time with the wheel

Properties

autoFit
type String
Automatically resize the cell to fit the width of the specified area. [none]: It does not use the function and is set to the specified width. [all]: All columns are calculated equally, and the size of the cell is automatically adjusted. [columnindex]: When a specific column index is specified, only the column size is adjusted to fit the width of the designated area. Multiple columns can be set through the comma (,) separator.
autoRowHeight
type String
Automatically adjust row height to fit cell data length. The minimum value is the row height you set. [none]: The function is not used and is set to a fixed height. [all]: Automatically adjust the row height to fit the data length of all columns. [cellindex]: When a specific cell index is specified, the row height is automatically adjusted to the data length of the cell. Multiple columns can be set through the comma (,) separator.
bottomSplit
type Number
Sets the number of rows fixed at the bottom of the Detail area.
When using grouping, topSplit, bottomSplit related settings are not supported (topSplit, bottomSplit, topSplitHeight, bottomSplitHeight).
bottomSplitHeight
type Number
Default height of the area to be fixed at the bottom of the detail area (px). (Related method: [bottomSplit] If the bottomSplit is not dynamically set at runtime, the bottom fixed area is not divided. When using the grouping function, bottomSplit is not supported.)
caption
type String
Grid description.
clickMode
type String
Set the click action. [select]: Click to operate in select mode. [edit]: Click to operate in edit mode.
collapsible
type Boolean
Set to fold the group when using a rowgroup.
columnMovable
type Boolean
Whether the grid column can be moved.
dataSet
type DataCollection
Dataset or dataview ID to be connected to the grid.
defaultSortMode
type SORTMODE
Set the default behavior when clicking on a header that supports multiple sorting. Applied when the value of the header column property [sortable] is true.
[multi]: Set multi-sort as the default operation. Single sort when (alt+click header).
[single]: Set single sorting as the default action. Multiple sorting when (ctrl+click header).
enabledCellAutoWidth
type Boolean
Whether to automatically adjust the width of the cell to fit the width of the text displayed when double-clicking the width adjustment area of ​​a cell for which resizable is true. [false] : Double-click does not work. [true] : When double-clicked, the cell width is automatically adjusted to fit the text width.
filterDialogButtons
type FilterDialogButton[]
Sets the button order list for the filter popup.
hScroll
type String
Horizontal scroll style. [auto]: Scrolling is automatically set according to the size of the inner area. [scroll]: Scroll is set regardless of the size of the inner area. [hidden]: Scroll is set to be invisible regardless of the size of the inner area.
leftSplit
type Number
Number of cells to be fixed (split) to the left of the grid. (Related property: [leftSplitWidth] If leftSplitWidth is 0, the left partition is not shown even if leftSplit is set.)
leftSplitWidth
type Number
The width of the area to be fixed (split) to the left of the grid (px). (Related property: [leftSplit] If leftSplit is not specified, the left partition is not split.)
pasteMode
type String
Set the paste (ctrl + v) method. [all]: Pasted to all controls except those with enabled = false and readOnly = true. (default) [editable]: Pasted only to editable controls. (Excluding control example: Output, Input (disabled)) [none]: Paste is not supported.
pasteValidation
type Boolean
Sets whether to check validity when pasting (ctrl + v). When validating, invalid values ​​are not pasted. Cells that do not require additional validation, such as basic cells and outputs, are pasted as they are.
resizableColumns
type String
Set whether to adjust the grid column width. [none]: The width of all columns cannot be adjusted. [all]: The width of all columns can be adjusted. [columnindex]: When specifying a specific column index, only the column size can be adjusted.
rightSplit
type Number
Number of cells to be fixed (split) to the right of the grid. (Related property: [rightSplitWidth] If rightSplitWidth is 0, the right partition is not displayed even if rightSplit is set.)
rightSplitWidth
type Number
The width of the area to be fixed (split) to the right of the grid (px). (Related property: [rightSplit] If rightSplit is not specified, the right partition is not split.)
rowIndexerStartNum
type Number
Start index of the row index displayed on the grid. (It is shown in the column with columnType rowIndex.)
selectionMulti
type String
Multiple selection. ([none] or [single] or [multi])
selectionUnit
type String
Unit from which grid can be selected. ([cell] or [row] or [column])
showDeletedRow
type Boolean
Whether to show deleted rows.
showExtraRow
type Boolean
If the detail area is not full of data rows, Sets whether to fill grid lines in the margins.
suppressedCellEditMode
type SuppressedCellEditMode
When editing suppressed detail cells, set whether to modify only the values ​​in the edit row or change the values ​​of all cells that are suppressed.
suppressedCellType
type String
Decide whether to display the suppressed detail cell as split or merged. [split]: When the same value is repeated, the first value is output and the remaining values ​​are omitted. (default) [merged]: Provides the effect of merging cells of repeated values ​​when the same value is repeated.
tabMode
type TabMode
Set the tab movement method.
[all] : You can move the entire cell by tab. (Including both default cell and Output) (default)
[editable] : Only editable controls are tabbed. (Example of control that cannot move tab: Output, Input(disabled))
[focusable] : Only focusable controls are tabbed. (Affected by tabIndex.)
[none] : Tab movement is not supported.
topSplit
type Number
Sets the number of rows fixed at the top of the Detail area.
When using grouping, topSplit, bottomSplit related settings are not supported (topSplit, bottomSplit, topSplitHeight, bottomSplitHeight).
topSplitHeight
type Number
Default height of the area to be fixed on top of the detail area (px). (Related method: [topSplit] If topSplit is not dynamically set at runtime, the top fixed area is not split. When using grouping function, topSplit is not supported.)
vScroll
type String
Vertical scroll style. [auto]: Scrolling is automatically set according to the amount of data in the detail area. [scroll]: Set to show scroll regardless of the amount of data in the detail area. [hidden]: Scroll is set to be invisible regardless of the amount of data in the detail area.
viewingMode
type ViewingMode
Set the grid viewing mode.
Sets how the controls placed on the grid will be displayed in viewing mode.
wheelRowCount
type Number
Number of rows to scroll at a time with the wheel