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
Complex search AND and OR
01/02/2013
15:50
Avatar
fpanitzp
Valencia, Venezuela
New Member
Members
Forum Posts: 1
Member Since:
01/02/2013
sp_UserOfflineSmall Offline

Hello I'm using complex search AND and OR in 4.4.4

filters =
{
"groupOp":"OR",
"rules":[{"field":"a.id","op":"eq","data":"1"}],
"groups":[
{
"groupOp":"AND",
"rules":[{"field":"a.id","op":"eq","data":"2"}],
"groups":[...]
}
]
}

but in the Search dialog shows ALL and ANY.

When execute the query don't show the result as it is.

02/02/2013
10:34
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Are you sure that you use the version 4.4.4? For example the demo uses jQuery 1.9.0, jQuery UI 1.10.0 and jqGrid 4.4.4 and I can't reproduce the error which you describe on the demo.

In any way if you have found an example when flitering of jqGrid works incorrect you should post full demo with description of the test case which can be used to reproduce the problem. Only in the case one will be able to reproduce, localize and fix the bug.

Do you try to use names of columns without dots: replace "a.id" to "a_id" or any other name for example. If you load the data from the server and use loadonce: true for the local filtering you can use jsonmap: "a.id", but the value on the name property choose any other (without dots).

Best regards
Oleg

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
48 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