You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a tree with folders and files and I want to prevent a folder to be nested under a file when dragging. The problem is that I don't have an event for when I start dragging to check what object I'm dragging and an event for where the object is about to be moved to freeze the grid or alert the user and roll back the row to it's original position.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, baloraki. What I did is check which row was moved, and if it is an invalid movement, or I don't want the user to move that row, I roll back the grid state to the previous state before it was moved
Hi, Ben!
I have a tree with folders and files and I want to prevent a folder to be nested under a file when dragging. The problem is that I don't have an event for when I start dragging to check what object I'm dragging and an event for where the object is about to be moved to freeze the grid or alert the user and roll back the row to it's original position.
Thanks!
The text was updated successfully, but these errors were encountered: