Hi admin,
When I add a new row in batch editing version isEditiing($grid) return true. I am facing this issue in the current version(2.2.0) which was not in the previous version.
{ "click": function (evt, ui) {
alert("1")
if (isEditing($grid)) {
return false;
}
alert("2");
//append empty row at the end.
var rowData = { UnitPrice: 0, Discontinued: false }; //empty row
var rowIndx = $grid.pqGrid("addRow", { rowData: rowData });
$grid.pqGrid("goToPage", { rowIndx: rowIndx });
$grid.pqGrid("editFirstCellInRow", { rowIndx: rowIndx });
}
Alert 2 will not call.
When I remove isEditing check then new row gets inserted but I had validation in editable function where passed rowData is null.
I am facing issue in the current free version of the grid which was not in the previous version.
Please reply.