I can't believe that such a question has not arisen, but nevertheless I could not find a solution to my problem.
The gist of my question: I have a table in which the user can drag rows up and down. I think everything is clear here. But how do you limit the drag zone? After all, the user can move the cursor to another corner of the screen and the captured row will go with the cursor. The question is: how can you prevent a captured row from being moved beyond the boundaries of the table?
I don't provide the code because I don't require a solution. I want to know if it is possible to do this with this library and the principle of the solution
I can't believe that such a question has not arisen, but nevertheless I could not find a solution to my problem.
The gist of my question: I have a table in which the user can drag rows up and down. I think everything is clear here. But how do you limit the drag zone? After all, the user can move the cursor to another corner of the screen and the captured row will go with the cursor. The question is: how can you prevent a captured row from being moved beyond the boundaries of the table?
I don't provide the code because I don't require a solution. I want to know if it is possible to do this with this library and the principle of the solution