To whom it may concern,
I have a questions about jqGrid -setGridParam and addRowData
You can check by following the steps below.
Row IDs may be duplicated when following the steps below.
1.
var rows = [{“assignid”:”1000001″,”name”:”taro tanaka”,”id”:”jqg1″}, {“assignid”:”1000002″,”name”:”hana yamada”,”id”:”jqg2″}];
grid.jqGrid(‘setGridParam’, {data : rows}).trigger(“reloadGrid”);
2.
var row2 = {“assignid”:”1000001″,”name”:”taro tanaka”};
grid.addRowData(undefined, row2);
If you check the HTML, there are times when they’ve duplicated.
-Is there a way to prevent duplication with automatic numbering?
-Is it possible to specify the start of row ID numbering?
-If it’s a bug, could you fix it?
I would appreciate your prompt reply.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top