Hello Team,
We are passing data to dataModel.data dynamically and sometime the data is empty and in this situation it gives error and the grid is not working properly.
On Load if we pass empty data it is working fine but when i apply custom filter on the grid and if there is no data in the array it gives error.
Please check the below code.
var exData = [];
$("#grid_Executing").pqGrid("option", "dataModel.data", exData);
$("#grid_Executing").pqGrid('refreshView');
For reference i created one JsFiddle please check the below URL and for produce the error please click on the Empty Data button and see error in console.
JSFiddle URL :
http://jsfiddle.net/h4rmbx70/26/Please check above URL and give your suggestion on this.