ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: jdhosier@burgessnorton.co on April 10, 2020, 11:38:00 pm
-
I need to be able to drag a row from one grid to another grid without have it removed from the first grid. I tried using JQuery to set the option helper to clone, but the grid threw an exception. Is there a way to do this in pqGrid?
Thanks
JHosier
-
JHosier
pqGrid has its own API to support drag and drop of rows.
Ex: https://paramquery.com/pro/demos/dnd_grids
I need to be able to drag a row from one grid to another grid without have it removed from the first grid.
For this add an empty implementation of dragModel.beforeDrop callback in first grid.
dragModel:{
on: true,
clsDnD: 'dnd1',
diHelper:['OrderID'],
beforeDrop: function(){
}
},
https://jsfiddle.net/x84wmesa/