RowReorder - Prevent ordering
RowReorder - Prevent ordering
Genjiff
Posts: 1Questions: 1Answers: 0
Hi
I'm using the RowReorder plugin and I want to prevent the user to reorder the rows if some check fails. I'm was trying to disable reordering on the pre-row-reorder
event, but this doesn't work. Here's what I'm trying to do:
http://live.datatables.net/catapuke/1/edit
Is there a way to prevent the user to reorder the table after he starts the reordering?
thanks!
This discussion has been closed.
Answers
Maybe you can simply enable or disable within the init code. Something like this:
Kevin