Hi Team,
we have used the solution of detaching the empty rows from dataModel.data in beforeSort and append it back in sort event. As mentioned in the below link.
https://paramquery.com/forum/index.php?topic=953.0In our case, empty rows are the one, that we add default (say 5- new rows in bottom)to the grid during creation of our grid.
Now if we sort any column in grid(grid is not dirty yet), and then change the any column in the newly added row, the grid is not giving the changes. The below is the function we are using to get changes
$griId.pqGrid("getChanges", {
format : 'byVal',
all : true
});
However, if change any cell value in newly added row and then sort, the grid gives the changes.
Behavior is strange. please suggest. Share js fiddle if possible.
the version we are using ParamQuery Pro v3.3.5.