ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: fings on January 23, 2021, 02:35:34 pm
-
excuse me,
i find a bug of the method [deleteRow];
like this config:
dataModel: { location: "remote"},
pageModel{ type: "remote"},
when i delete one row in page2 or more(page > 1) by method [deleteRow],
it's can not delete correct row of 2times or more,
this my code:
let sel_row = $pqgrid.SelectRow();
let selectArray = sel_row.getSelection();
let _rowIndex = selectArray[0].rowIndx;
$pqgrid.deleteRow({ rowIndx: _rowIndex });
remark: console.log(selectArray); data is correct;
i watch this demo,has same problem
https://paramquery.com/pro/demos/editing_remote_page
-
Issue with API wr.t. paging is caused when rowIndx / rowIndxPage are used incorrectly.
Please read about rowIndx and rowIndxPage here: https://paramquery.com/pro/tutorial#topic-special-vars
-
Issue with API wr.t. paging is caused when rowIndx / rowIndxPage are used incorrectly.
Please read about rowIndx and rowIndxPage here: https://paramquery.com/pro/tutorial#topic-special-vars
thank you, i will earnest to read
-
about the bug of deleteRow
repair row 3398:
c.rowIndx = a ? f + l : f