Scroll selected record into view

I have a custom search dialog that selects a found record, but if the record is off the screen, the grid does not scroll to show it. Is there any way to make a ListGrid scroll to show a particular record?

Hey just happen to see your thread. Below forum thread should be useful. Let me know if it helped.

http://forums.smartclient.com/showthread.php?t=1295

Hi Ledifni, Mahen
Thanks for the help Mahen - yes - you will want to call your scrolling APIs on the listGrid body rather than directly on the grid.

To calculate how far to scroll, you can look at the specified ‘cellHeight’ of the ListGrid (and the index of the selected record)

Hope this helps

Regards
Isomorphic Software