Wrong columns positions after SaveColumnPositions

Hi
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:
[dbgrid]
Col0=84
Col1=85
CP0=0
CP1=0
CP2=0
CP3=0
CP4=0
CP5=0
CP6=0
CP7=0
CP8=0
CP9=0
CP10=0
CP11=0
CP12=0
CP13=0
CP14=0
CP15=0
CP16=0
CP17=0
CP18=0
CP19=0
CP20=0
CP21=0
I have no idea why the position for every single column is 0.

  1. Are you using the latest version of the component
    2) 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.
Best Regards