I have a FNC Data Grid where some rows (depending on the row values) shall be expandable and some shall not be.
I can prevent the expansion via OnCellBeforeNodeExpand - but how can I prevent the drawing of the icon that indicates the row to be expandable in the first place?
procedure TForm130.TMSFNCDataGrid1GetCellClass(Sender: TObject; AColumn,
ARow: Integer; var ACellClass: TTMSFNCDataGridCellClass);
begin
if ACellClass = TTMSFNCDataGridNodeCell then
begin
if (ARow = 3) then
ACellClass := TTMSFNCDataGridCell;
end;
end;