user1404404
user1404404

Reputation: 45

JqGrid search in client side

There is a way to do search in client side after the server to response json data? The jqGrid search example with only html/jscript and array of type local perform the search of the datas on client side, but when a have the same jqgrid deployed within the server, with json return the jqgrid hint/request for the server. I would like to know about this behave on more deeply!

best regardless!

Upvotes: 0

Views: 1801

Answers (1)

Oleg
Oleg

Reputation: 222017

If I understand correctly your requirements you need just add loadonce: true to the kist of jqGrid parameters. It will follows to changing datatype from 'json' or 'xml' to 'local' after the first filling of the grid with the server data. So you can call filterToolbar to use toolbar searching of use navGrid to add button used in advanced searching. Any kind of searching will be implemented locally.

Upvotes: 2

Related Questions