TNxCustomGrid6
Unit NxCustomGrid6.pas (Sources\Next Grid)
Descendants: TNextGrid6
, TNextDBGrid6
Properties
Public
Name | Description |
---|---|
InplaceEdit | Reference to currently active in-place editor component. |
SelectedRow | Specifies index of currently selected row. |
Published
Name | Description |
---|---|
ActiveView | Currently visible and interactive grid view. |
ActiveViewIndex | Specifies index of currently active view. |
AlternatingRowColor | Specifies background color for alternating (even) rows. |
AlternatingRowColorOptions | Specifies options for AlternatingRowColor |
AppearanceOptions | Set of options used for controlling appearance of the grid. |
InsertSelected | Specifies whether the insert row is selected. |
Options | Specifies main options (flags) used by NextGrid. |
RangeSelect | User can include/exclude rows within selection rectangle. |
RangeSelectAlpha | Transparency level for range selection. |
RowCount | Total number of rows in grid. The property includes both visible, hidden and collapsed rows. |
Methods
Name | Description |
---|---|
AssignEditing | Assign value from InplaceEdit back to cell being edited, but don't exit from edit mode. |
BeginUpdate | Postpone updates such as grid repainting, scrollbar recalculating until EndUpdate method is called. |
EditCell | Try to edit cell with specified column and row index. |
EndEditing | End editing and optionally assign value from InplaceEdit back to cell being edited. |
EndUpdate | Decrease UpdateCount . If UpdateCount is 0 and Update parameter is True , all postponed updates will be processed. |
Recalculate | Recalculate all columns formulas. |
SelectAll | Selects all rows in the grid by setting Selected array property to True for all rows. |
SelectCell | Try to select cell by specifying column and row index. |
SelectFirst | Select first visible row. |
Events
Name | Description |
---|---|
OnAcceptEdit | An event called after a user finish with editing and value of in-place editor need to be copied back to the cell. |
OnAfterEdit | An event called after editing is done and new value is copied back from inplace-editor to cell. |
OnBeforeEdit | An event called before cell and grid enters editing mode. It gives a possibility to block editing before it's started. |
OnBeforeSelect | An event called before a new selection is being made. |
OnCellClick | An event called after an user click on a cell. |
OnCellDblClick | An event called after an user double-click on a cell. |
OnCellMouseDown | An event called after an user press a mouse button over a cell. |
OnCellMouseEnter | An event called after an user move a mouse pointer to a cell. |
OnCellMouseLeave | An event called after an user move a mouse pointer outside a cell. |
OnCustomDrawFooter | An event called while a footer for each column is being drawn. |
OnCustomDrawHeader | An event called while a header for each column is being drawn. |
OnDeselect | An event called when a cell have stopped being selected. |
OnEditEnter | An event called after an editing is started and inplace editor got focused. |
OnEditExit | An event called after an editing is done and the inplace have editor lost focus. |
OnMeasureRowHeight | An event that can be used for dynamically setting height of a row. |