VirtualModeData column sorting, vertical scroll bar and Page Up and Down key

I’m using VirtualModeData mapping a two dimension string array.

I need to sort the columns and I can’t see any sample about doing it.

How do vertical scroll bar interacts with cursor row position? What are this data represents?

                tGrid1.ScrollBars.Vertical.Maximum = ??;
                tGrid1.ScrollBars.Vertical.SmallChange = ??;
                tGrid1.ScrollBars.Vertical.LargeChange = ??;

The Key Page Up moves the cursor row up 10 rows. Where is the number of rows to move set?
The Key Page Down moves the cursor row to row number 11. This is not normal!!

Hello,

Apologies for the delay with this reply.

Please look at this example location:

The SortableColumns example includes a VirtualDataset.

We’ll follow up with a reply to te second part of your question.

Regards,
Marc Meumann

Hello,

Re. “The Key Page Up moves the cursor row up 10 rows. Where is the number of rows to move set?”
That is currently fixed at 10. We’ll add a property to control that. (http://bugs.teechart.net/show_bug.cgi?id=2352)

Re. The Key Page Down moves the cursor row to row number 11. This is not normal!!
My interpretation is that the cursor is already at row 1 so moves 10 to row 11. We can review that, I see another issue here, that the page-down doesn’t continue beyond the first jump (http://bugs.teechart.net/show_bug.cgi?id=2351). We’ll fix that and review related functionality.

Re. “tGrid1.ScrollBars”
Yes, these are using standard Windows Forms Scrollbars. I agree that their use is not clear. We’ll clarify that for the next build release.

Regards,
Marc