开发者

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开发者_JS百科 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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜