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_Related Related Topics sp_TopicIcon
Missing "IS NULL" and "IS NOT NULL" items in search operators
30/09/2013
08:39
Avatar
vitula
Member
Members
Forum Posts: 4
Member Since:
30/09/2013
sp_UserOfflineSmall Offline

This example is OK.

http://www.ok-soft-gmbh.com/jq.....eIcon1.htm

 It uses jquery-1.7.1 and jquery-ui-1.8.16 and jqGrid-4.3.1

but if you change to jquery-1.10.1 and jquery-ui-1.10.3 and jqGrid-4.5.2 - all the latest -

items 'nu' and 'nn' disappear. Everything else seems to work fine.

Please help. I am not so good to trace the problem.

Thank you

30/09/2013
08:57
Avatar
vitula
Member
Members
Forum Posts: 4
Member Since:
30/09/2013
sp_UserOfflineSmall Offline
30/09/2013
11:36
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

This is missed part in lang file.

In your language file (in this case grid.locale-en.js) in item search.odata add the following two items

{ oper:'nu', text:'is NULL'}, { oper:'nn', text:'is NOT NULL'} , so it will becom

….

search : {

   odata : [{...},..., { oper:'nu', text:'is NULL'}, { oper:'nn', text:'is NOT NULL'}]

}

Regards

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.

01/10/2013
13:32
Avatar
vitula
Member
Members
Forum Posts: 4
Member Since:
30/09/2013
sp_UserOfflineSmall Offline

This is it. It works. Thank You very much.

$.jgrid.search = {

odata : [

{ oper: 'eq', text: "rovno" },

{ oper: 'ne', text: "nerovno" },

{ oper: 'lt', text: "menší" },

{ oper: 'le', text: "menší nebo rovno" },

{ oper: 'gt', text: "vÄ›tší" },

{ oper: 'ge', text: "vÄ›tší nebo rovno" },

{ oper: 'bw', text: "začíná s" },

{ oper: 'bn', text: "nezačíná s" },

{ oper: 'in', text: "je v" },

{ oper: 'ni', text: "není v" },

{ oper: 'ew', text: "končí s" },

{ oper: 'en', text: "nekončí s" },

{ oper: 'cn', text: "obsahuje" },

{ oper: 'nc', text: "neobsahuje" },

{ oper: 'nu', text: "je null" },

{ oper: 'nn', text: "není null" }

]

};

02/10/2013
12:19
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I will need to update all the lang files. Thanks for confirm that this work.

Regards

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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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