I may have overlooked it, but I didn't find if it's possible to retrieve a column by its header caption? I'd like to do this in order to set the column's Name property without hard-coding the column index:
CODE
With NextGrid1 do begin
//2nd param is caption, not name
Columns.Add(TNxTextColumn,'Value');
//GPF
Columns.Column['Value'].Name := 'value';
end;
//2nd param is caption, not name
Columns.Add(TNxTextColumn,'Value');
//GPF
Columns.Column['Value'].Name := 'value';
end;
Thank you.