ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: megastream on April 07, 2021, 11:16:54 am
-
Hello,
I want to add multiple rows on single click of addnew row button so please suggest me an example of this
Thanks
-
There are code examples of adding multiple rows in the API:
https://paramquery.com/pro/api#method-addNodes
https://paramquery.com/pro/api#method-addRow
-
Hello,
Thanks for your response
How can i add multiple rows concept in below snippet:
var rowIndx = $grid.pqGrid('addRow', { rowIndxPage: 0, rowData: rowData, checkEditable: false });
Please suggest me.
-
$grid.pqGrid('addRow', {
rowList:[
{ newRow: rowData1, rowIndxPage: 0 },
{ newRow: rowData2, rowIndxPage: 1 },
...
],
checkEditable: false
});