Welcome Guest Search | Active Topics | Sign In | Register

Question about Grid Object .selectItem() Options
Texwinca Developer
Posted: Wednesday, May 20, 2009 12:24:23 AM
Rank: Advanced Member
Groups: Member

Joined: 3/31/2009
Posts: 52
I have a grid in my page. The Grid FullRowMode is set to True and RunningMode is Client. Now, I tried to delete a row in the grid. Then adjacent (Next) row will be selected automatically after. In order to do this behavior, I tried to use the Grid Object build-in Javascript function Grid.selectItem(nextItemIndex). However, I can't determine the adjacent row is deleted or not. If I select an item that is deleted, then no row is selected. In this scenario, what can I do?
eo_support
Posted: Wednesday, May 20, 2009 8:42:28 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I believe client side GridItem object has an isDeleted method that you can call to check whether the item has been deleted. The method is not documented but does exist.

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.