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
bug in validation of searching
21/04/2013
15:41
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello Tony,

jqGrid 4.4.5 has a bug: searchrules don't work more. One can reproduce the problem for example on the official jqGrid demo in "Searching" / "Validation in serach".

The reason of the problem I described in the answer. The changes in $.jgrid.checkValues was just not oriented on the case where g option are null. I suggested in the answer a simple bug fix, but after analysing of the problem more carefully I posted the pull request where one calls different common methods of jqGrid with correctly initialized this.

By the way, after applying of suggested changes one can remove $t parameter from bindEv and remove g from checkValues. Instead of that one could use this. It would make the usage of this more consequentially.

To do this one need just make simple modification in the line inside of saveCell and the line inside of saveRow which uses $.jgrid.checkValues and the line of editGridRow, the line, the line and the line of filterToolbar, the line of editCell and the line of editGridRow which uses $.jgrid.bindEv. I changed already in the pull request two places where $.jgrid.bindEv used in $.fn.jqFilter.

Best regards
Oleg

23/04/2013
16:13
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Thanks Oleg,

Fixed

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.

07/02/2014
10:30
Avatar
beza2000
New Member
Members
Forum Posts: 1
Member Since:
07/02/2014
sp_UserOfflineSmall Offline

Hello!
The example on the official jqGrid demo in "Searching" / "Validation in serach" with jqGrid 4.5.4 is not working.

Best regards

Alexander

07/02/2014
11:32
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks for let me know about this example mistake.

The problem was not in grid, but in the example grid setup.

Now I have corrected this and the example work as expected.

Thanks again

Kind 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:
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