I am a starter in jqGrid, I am writing this code to build jqGrid in ASP.NET
var grid = $('#list'); grid.jqGrid({ url: 'jQGridHandler.ashx', postData: { ActionPage: 'CostTypes', Action: 'Fill' }, ajaxGridOptions: { cache: false }, direction: "rtl", datatype: 'json', height: 490, colNames: ['CostId', 'CostNo', 'CostName', 'Remark '], colModel: [ { name: 'COST_ID', width: 100, sortable: true, search:true, editable: false, hidden: true, key: true, index: 'COST_ID' }, { name: 'COST_NO', width: 100, sortable: true, editable: true }, { name: 'COST_NAME', width: 350, sortable: true, editable: true }, { name: 'REMARK', width: 300, sortable: true, editable: true } ], gridview: true, rowNum: 30, rowList: [30, 60, 90], pager: '#pager', sortname: 'COST_ID', viewrecords: true, rownumbers: true }); grid.jqGrid('navGrid', '#pager', { add: false, edit: false, del: true, search: true }, {}, {}, { url: "JQGridHandler.ashx?ActionPage=CostTypes&Action=Delete", reloadAfterSubmit: false }, { multipleSearch: true});
when you click the search icon and show the search box when entering a text example costNo=1 jqGrid does not filter, I think this action does not work, please help me in impregnation search in jqGrid thanks everyone
EDIT 01: when I add loadonce: true search, but when deleting this option the search does not work, please help me. thank