Welcome Guest Search | Active Topics | Sign In | Register

set focus on Grid Item Options
Vinny
Posted: Wednesday, September 17, 2008 1:14:24 PM
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
eo_support
Posted: Thursday, September 18, 2008 7:28:27 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,091
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.html

You can probably call it inside the Grid's ClientSideOnItemSelected handler.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.