Vcl.Grids.TCustomGrid.OnFixedCellClick
Delphi
property OnFixedCellClick: TFixedCellClickEvent read FOnFixedCellClick write FOnFixedCellClick;
C++
__property TFixedCellClickEvent OnFixedCellClick = {read=FOnFixedCellClick, write=FOnFixedCellClick};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
Determines the event triggered when a user clicks in a fixed cell.
Write an event handler for OnFixedCellClick to supply custom logic to your application in response to a user clicking in a fixed cell. OnFixedCellClick is only triggered if the Options property includes either the goFixedColClick or goFixedRowClick option, or both options.
OnFixedCellClick can be useful when implementing sorting on columns. By clicking in a fixed cell, the applied sorting rule can be reversed.