Hi
I need to get column with Row number to identify a number of elements in table
No name
1 'dog'
2 'cat'
3 'snake'
4 'horse'
How to do this and where should i put a code.
I`ve tried something like this but without any effects:
for i := 1 to dbg_wag.RowCount - 1 do
begin
dbg_wag.Cells[0,i] := IntToStr(i-1);
end;
Maybe i should insert this into some event.
Plz help
If you want to access all rows in the dataset via the grid.Cells[] property, please set grid.PageMode = false.
I was talking about dbgadv.AutoNumberCol(0);property - just in case someone need it.