I am trying to have the page load with a pre-defined filter already applied to the grid.I've tried the following code without success.
$("table#worksheetsTable").jqGrid("setGridParam", {
gridComplete: function() {
//tried to set all this here too
},
postData: { searchField: "ScreeningNumber", searchString: "8882", searchOper: "bw" },
search: true
});
I've also tried $("table#worksheetsTable").jqGrid("setGridParam", {search: true})
outside of the first call as well. When I compare the form values generated with this and with what occurs when i click on the filter myself with Fiddler, they look the same.
UPDATE: Every example of this I've found has to do with multiple filters... I've finally found this answer from Oleg that explains (i think) that doing a single filter is different than doing multiple filters. I will update this and mark the answer once I try this.