Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxCustomGrid6

TNxCustomGrid6

Unit NxCustomGrid6.pas (Sources\Next Grid)

Properties

Public

NameDescription
InplaceEditReference to currently active in-place editor component.
SelectedRowSpecifies index of currently selected row.

Published

NameDescription
ActiveViewCurrently visible and interactive grid view.
ActiveViewIndexSpecifies index of currently active view.
AlternatingRowColorSpecifies background color for alternating (even) rows.
AlternatingRowColorOptionsSpecifies options for AlternatingRowColor
AppearanceOptionsSet of options used for controlling appearance of the grid.
InsertSelectedRowCount
Total number of rows in grid. The property includes both visible, hidden and collapsed rows.

Methods

NameDescription
AssignEditingAssign value from InplaceEdit back to cell being edited, but don't exit from edit mode.
BeginUpdatePostpone updates such as grid repainting, scrollbar recalculating until EndUpdate method is called.
EditCellTry to edit cell with specified column and row index.
EndEditingEnd editing and optionally assign value from InplaceEdit back to cell being edited.
EndUpdateDecrease UpdateCount. If UpdateCount is 0 and Update parameter is True, all postponed updates will be processed.
RecalculateRecalculate all columns formulas.
SelectAllSelects all rows in the grid by setting Selected array property to True for all rows.
SelectCellTry to select cell by specifying column and row index.
SelectFirstSelect first visible row.

Events

NameDescription
OnAcceptEditCalled after user finishes editing and value of in-place editor need to be copied back to a cell.
OnAfterEditCalled after an editing is done and new value is copied back from inplace-editor to cell.
OnBeforeEditCalled before cell and grid enters editing mode and gives possibility to block editing before it's started.

Files

Sign in