Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jqGrid - how to search when using datatype:local Or loadonce: true

I have a problem with jqGrid when I'm using the options specified. Seems that nothing happens when I click 'Find'.
From jqGrid documentation I understand that sorting and searching is done locally when using loadonce option. Sorting is fine but search not, should it work locally or just server side, if so how to do that?

Thanks
Ovidiu

like image 397
satmovi Avatar asked Nov 05 '22 14:11

satmovi


1 Answers

According to the Search Configuration section of the jqGrid documentation:

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.

So you will need to implement search using a server-side data source. You should be able to follow the examples on the jqGrid site to put at least a first-cut of this together.

Update

As of 3.7, jqGrid now supports local searching of data. Please see the same link at Search Configuration and the jqGrid Demos under the section New in version 3.7 for more information.

like image 53
Justin Ethier Avatar answered Nov 12 '22 16:11

Justin Ethier