Forum


I have static data in an array but still need to be able to filter it with the “search” feature. Is this possible? I'm using JqGrid 3.3.1.
For example, I want my grid set up to populate with data from a static array (not pulling from a database) or an XML file would work too. I want the colModel set so that each column has a dropdown list that will allow me to display only the rows relevant to the dropdown selection (similar to how the Tax column is treated in the demo for Multiple Toolbar Search.
Currently however I can't set up a database on the server my organization is on so will need to have the data in an XML file or an array but I am uncertain how to proceed with filtering the static content. It looks like the Search function uses _Replace and an SQL query when it runs the search through a db, but how would this work with static data?
02:14

Moderators
30/10/2007

Hello,
Local filtering and search currently is not supported.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
No problem.
For static content I found a solution that doesn't rely on jqGrid. In case anybody is looking for something similar, here is a link to it: http://ideamill.synaptrixgroup.....page_id=16
It's not truly a grid, but a table solution. It also might spark some ideas in how to add static content filtering into jqGrid.
Most Users Ever Online: 715
Currently Online:
40 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66