ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: cijojohn on July 20, 2017, 06:11:53 pm
-
Hello Team,
I am facing Issue with paste in grid.
when i try to paste multiple rows and i go to last row of grid and paste then it is creating new rows. I want to restrict that.
see attachment.
Please Help..
Thanks
-
It's the default behavior which can be customized with beforeValidate event:
beforeValidate: function(evt, ui){
if(ui.source=="paste"){
ui.rowList = ui.rowList.filter(function(rObj){
return (rObj.type!=="add");
})
}
}