May 23, 2014, 9:03 PM
[CLOSED] Grid Row Order using the Plug-in
Hi,
I'm using the GridDragDrop plugin to do re-ordering of my grid rows and I want to attach an event to the drop event. So that I can update the order field in the grid because I need to save the order of the items back to the database.
I tried to do the following...
Please advise.
I'm using the GridDragDrop plugin to do re-ordering of my grid rows and I want to attach an event to the drop event. So that I can update the order field in the grid because I need to save the order of the items back to the database.
I tried to do the following...
.View(X.GridView()
.Plugins(X.GridDragDrop()
.DragText("DRAG AND DROP TO RE-ORDER")
.AddListener("onDrop", "alert('Dropped');")
)
)
But the event is not firing. Is there a way to attach to the plugin's drop event?Please advise.
Last edited by Daniil; May 27, 2014 at 4:51 AM.
Reason: [CLOSED]