I want to save information about columns positions after user has chaned it.
I use dbgrid.SaveColumnPositions(config_path,'dbgrid');
after i save it into ini file it looks like this:
I have no idea why the position for every single column is 0.
- Are you using the latest version of the component2) When you programmatically add columns or new columns are automatically added from activating the dataset, did you call grid.SetColumnOrder to initialize the reference order?
My misteake - First I`ve put: FMain.dbg_Poc.ColCount:=11
and after this input for columns ( 11 ) - so I had 22 columns.
Sry for bothering you.