Hi, We have a requirement like the system should allow drag and drop for mid 10 rows alone. Our system should not allow drag and drop for First 2 rows and last 5 rows.
I can set “manualRowMove: true” to drag and drop any rows. How can I restrict it for specific rows alone?
How to freeze or disable drag and drop for first and last row
you can block the whole moving operation if a number of rows if greater than some numeric value (example https://jsfiddle.net/AMBudnik/xk5rogLa/).
You can also return false
when the User tries to move some restricted index. Here’s an example when I block the operation if row index 2 is moved https://jsfiddle.net/AMBudnik/xk5rogLa/1/