Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Search when using a data array
04/02/2009
10:18
Avatar
brianfidler
New Member
Members
Forum Posts: 2
Member Since:
03/02/2009
sp_UserOfflineSmall Offline

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?

05/02/2009
02:14
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

05/02/2009
10:52
Avatar
brianfidler
New Member
Members
Forum Posts: 2
Member Since:
03/02/2009
sp_UserOfflineSmall Offline

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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information