Rank: Advanced Member Groups: Member
Joined: 7/21/2008 Posts: 90
|
Hi,
I was wondering if in EO Grid we can set the focus onto the selected Item. Actually, when I select an item in the Grid (let say at the bottom of the grid) and do a post back then the vertical scroll bar shifts to top. I was looking to have the vertical scroll bar stays at the position it was before the post-back.
Thanks in advance...
Vinny
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi, I don't think you can have the same vertical scroll bar position, but you can ensure the selected item visible by calling this method: http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.GridItem.ensureVisible.htmlYou can probably call it inside the Grid's ClientSideOnItemSelected handler. Thanks
|