You are not logged in.
If a TSQLTableToGrid.drawgrid has lots of columns and is scrolled right selecting a row causes the horizontal scrollbar to jump back to the left.
I've found a solution on StackOverflow saying that it is caused by goRowSelect being in the DrawGrid options:
http://stackoverflow.com/questions/3355 … 404#336404
Is goRowSelect absolutely necessary for TSQLTableToGrid to work?
Offline
No, it is not mandatory.
It was just for better highlighting of the selected row on screen.
AFAIK you can remove the option at runtime, after TSQLTableToGrid initialization.
Offline
Thanks, removing the option worked
Offline
Could there be a way of disabling TSQLTableToGrid.DrawGridKeyDown? At the moment it changes the sort order if the left or right arrow keys are pressed but if goRowSelect isn't defined it would be better to allow the default handling of changing the selected cell.
Offline