FMX.Grid.TGridModel.OnGetValue
Delphi
property OnGetValue: TOnGetValue read FOnGetValue write FOnGetValue;
C++
__property TOnGetValue OnGetValue = {read=FOnGetValue, write=FOnGetValue};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TGridModel |
Description
- Warning: Subclasses of TGridModel may not trigger OnGetValue.
Occurs when the grid, using this grid model, needs to retrieve a value from an external repository to use as the content of one of the cells in the grid.
Write an OnGetValue event handler to take specific actions when you retrieve a value from an external repository to use as the content of one of the cells in a grid using this grid model. OnGetValue event handler keeps the TCustomGrid.OnGetValue event handler. DoGetValue calls OnGetValue event handler.