10116 : Scroll focused into view

Question

 I have 2 tabs in a form, one has input fields and second has GTP control, data is bound through coding. I want to retain the position of last selected cell/row of GTP Grid, I tried with storing selection point and restoring it at the time of getting focused on the tab, it works. BUT when Grid rows are increased upto 100-200 scroll bars appears and selection is restored but Grid does not auto scroll and get focused on the selected row, why? is there any property to be set?

Answer

You can set Gantt.Grid.GridStructure.TopNode to the node of the focused cell.

Leave a Reply