How to assign the data dynamically to jqGrid?
问题 Here is my code for creating the jqGrid $("#ptDataGrid").jqGrid({ datatype: 'local', data: arrSpecData, colModel: colmod, rowNum: 10, rowList: [10], pager: '#ptPager', gridview: true, rownumbers: false, viewrecords: true, loadonce:false, hidegrid: false, autowidth: true, caption: 'Crank Pin', height: '100%', }); Then i ahve applied some filters on my data and created another array called FilteredData . Now i wanted to assign this new Data source to my grid. I have tried all the approaches i