I have read over the existing documentation and searched in the forums but I cannot seem to find a solution
I have a RadGrid that is using the "GroupBy" functionality. I just want to drag and drop a grid item from one group to another.
I capture the OnRowDropping event and this is working fine.
Inside this event I want to retrieve the corresponding DataKey value from the underlying grid so that I can perform a look up and verify that the dragged row is going into a different group.
Does anyone know how to retrieve the DataKey value from the underlying grid for both the target and the dragged item?
I have tried this
http://www.telerik.com/help/aspnet-ajax/grdextractkeyvaluesclientside.html
but targetListingId.getDataKeyValue("subscriberListId") is null.
Any help is appreciated.
Felipe
I have a RadGrid that is using the "GroupBy" functionality. I just want to drag and drop a grid item from one group to another.
I capture the OnRowDropping event and this is working fine.
Inside this event I want to retrieve the corresponding DataKey value from the underlying grid so that I can perform a look up and verify that the dragged row is going into a different group.
Does anyone know how to retrieve the DataKey value from the underlying grid for both the target and the dragged item?
I have tried this
http://www.telerik.com/help/aspnet-ajax/grdextractkeyvaluesclientside.html
| var targetIndex = args.get_targetItemIndexHierarchical(); |
| var targetListingId = $find("ctl00_contentMember_subscriberList_gridList_ctl00").get_dataItems()[targetIndex]; |
but targetListingId.getDataKeyValue("subscriberListId") is null.
Any help is appreciated.
Felipe