TDBAdvGrid sorting with selections ?

I have enabled the possibility to select multiple rows in a TDBAdvGrid. PageMode is set to False. So far so good, but when you also want to sort the grid the selections are "scrambled".

I have done several combinations of PageMode, internal or external sorting etc. It isn't possible. Standard TDBGrid keeps the right selections. What I am doing wrong ? What is the right approach to tackle this ? An yes I have been looking at the BDE selection sample but that extra column is something I don't want.

Nobody

Hello,



I'm not sure, if that helps - but I had an issue with scrambled sorting in a TAdvStringGrid.

I had to explictely format the "problematic" row as ssAlphabetic. That solved the issue.

I don't know if this is useful for DBAdvGrids also...



Regards, Tom