views:

424

answers:

1

Hi guys,

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

A: 

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.

Justin Ethier
Ok. Good to know. I guess I'll have to refactor after all.Thanks,Cosmin
cosminaru
As of version 3.7 they support it now. It's pretty awesome.
gidmanma
Cool, thanks for the update.
Justin Ethier