Grid checkboxes (SelectedCells) don't show checked

Hi,


if I perform AddCheckBoxColumn(i) on a grid and then try to initialize the checkboxes with SelectedCells[i,.....]:=TRUE, the Checkboxes don't show selected.

I tried this also with the example p. 152 of the TMS TAdvStringGrid Developers Guide (checkerboard cell selection) an a default AdvStringGrid, but nothing shows as selected.

GL

If you use just grid.AddCheckBoxColumn(), the method to use to set the checkbox state is: grid.SetCheckBoxState()


i.e.
begin
  advstringgrid1.AddCheckBoxColumn(1);
  advstringgrid1.SetCheckBoxState(1,2,true)
end;

Thank you!