OnGetCellValue
Event where value of a cell can be provided.
pas
property OnGetCellValue: TNxGridColumnGetValueEvent read FOnGetCellValue write FOnGetCellValue;
Example
pas
procedure TForm1.NxGridColumn61GetCellValue(Sender: TObject; Index, Col, Row: Integer; var Value: string); begin // Here we provide the data for our columns. Depending on how many columns // are added to Columns property to the grid column. case Col of 0: Value := IntToStr(FDays[Index].Events[Row].Index); 1: Value := FDays[Index].Events[Row].Caption; end; end;