ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: jplevene on July 31, 2025, 03:11:02 pm

Title: How do I undo a moveNode event
Post by: jplevene on July 31, 2025, 03:11:02 pm
If I drag and drop a node, but saving it on the server has an error, I want to be able to undo/revert the move.  How do I do this?

colModel = {
moveNode: function(event, uiDrop) {
  if(ajax_error)
       undo_this_move(uiDrop);
  }
}
Title: Re: How do I undo a moveNode event
Post by: paramvir on August 01, 2025, 02:57:08 pm
Drag-and-drop operations in a treegrid support undo and redo functionality.

Although undo is not currently available in the plain grid, this capability is being introduced in the upcoming release.