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?
|
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!
|