Closed liulinwjzx closed 4 years ago
Hello,
Thanks. I have fixed the bug. The problem was that the delRowData is called with integer parameter which is used in searching in selarrrow array, which values are string.
If you call it with
...
$("#jqGrid").delRowData("1010");
then this will work correct.
Please, let me know if it is fixed for you.
Bear Regards
Thanks for fixing. Bear Regards Too.
In multiselect mode, deleted row id will be get if it's checked when delete.
Test:
1010
.1010
:$("#jqGrid").delRowData(1010)
.1012
, and run code in console:$("#jqGrid").getGridParam("selarrrow")
, return value is[1010, 1012]
, but not[1012]
.To resolve it, i should do
$jq.resetSelection(rowid).delRowData(rowid)
when server delete data success, I think it's extra invoking and hope it can be repaired.