How to filter the jqGrid data NOT using the built in search/filter box
Posted
by Jimbo
on Stack Overflow
See other posts from Stack Overflow
or by Jimbo
Published on 2010-05-28T10:58:29Z
Indexed on
2010/05/28
11:02 UTC
Read the original article
Hit count: 1028
I want users to be able to filter grid data without using the intrinsic search box.
I have created two input fields for date (from and to) and now need to tell the grid to adopt this as its filter and then to request new data.
Forging a server request for grid data (bypassing the grid) and setting the grid's data to be the response data wont work - because as soon as the user tries to re-order the results or change the page etc. the grid will request new data from the server using a blank filter.
I cant seem to find grid API to achieve this - does anyone have any ideas? Thanks.
© Stack Overflow or respective owner