Select last row manually

Hello,

I want to select the last row on a TDBAdvGrid manually.

That is working:
DBAdvGrid->Row = DBAdvGrid->RowCount - 2;
The row bevor the last is selected.

That is not working: DBAdvGrid->Row = DBAdvGrid->RowCount - 1;


The grid shows no behavior.

What can I do do to select the last row manually?

Regards

When grid.PageMode = true, it should be sufficient to do


DataSet.Last

Currently grid.PageMode is set to false.
It was your recommendation because there was another problem. See my post of September 9th "Scrollbar in a cell".

Can you make sure to set grid.DataSetType = dtSequenced in this case.