Cosmin Marginean
Cosmin Marginean

Reputation: 75

jqGrid filtering on the client-side using "filterToolbar"

I have to add filtering to a jqGrid that is completely managed on the client side (data is only loaded once from the server).

I need to use filterToolbar in order to filter the grid data, but couldn't find info if there is a default search mechanism on the client side. Is a server-side search the only way to do this?

Thanks, Cosmin

Upvotes: 4

Views: 9142

Answers (1)

Justin Ethier
Justin Ethier

Reputation: 134167

Unfortunately search (filtering) is only performed server-side, according to the jqGrid docs:

Currently we do not have module for searching on local data i.e when a datatype options is set to local. All the searching is done server side.

Update

As noted below, support for client-side filtering has been added in jqGrid 3.7. For an example see the Tooolbar search demo under the 3.7 section.

Upvotes: 2

Related Questions