Hello Boki,
In fact, I try to deal with delete a recreate the column.
But I experience malfunction as, using this code:
gridWagonSet.Columns.Delete(0);
gridWagonSet.Columns.Insert(TNxCheckBoxColumn,0);
with gridWagonSet.Columns[0] do begin
Alignment:=taCenter;
Width:=25;
end;
the column is in 2nd position in the grid
and I need to add "Position:=0;" in the with statement
Looking at the TNxColumns.InsertColumn procedure, : (called from TNxColumns.Insert function)
FItemsList.Insert(Pos, Column); FPositionItemsList.Add(Column);
Shouldn't you insert (not Add) into the 2nd TList ?



Find content
Not Telling
