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 search rules validation
13/05/2014
02:20
Avatar
InsI
New Member
Members
Forum Posts: 2
Member Since:
13/05/2014
sp_UserOfflineSmall Offline

I'm using the jqgrid v4.6.0

In the seach screen, if you remove all rules defined and add a new rule; the search rules of this new rule do not apply.

It can be simulated in the demo application as well (Searching –> Validation in serach)

Steps to simulate:

  • Load the above demo. load the seach screen (by clicking  'Find records' button).
  • The screen will load with one rule. Remove this rule
  • Click the add rule button and add a rule.
  • Then click the 'Find' Button without entering any value.
  • The screen gets closed, even when the search rule for 'Inv No' is indicated as required.

Expected Result: 

  • When the find button is click, the validation should fire and saying the 'Inv No' is required.

Plesae let me know how i can correct this issue, or if there is a work around for it.

Thanks in Advance

InsI

13/05/2014
13:33
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thank you. I see the problem, but currently I can not find the reason for this. Will look into it during the weekend.

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.

14/05/2014
09:43
Avatar
InsI
New Member
Members
Forum Posts: 2
Member Since:
13/05/2014
sp_UserOfflineSmall Offline

Thanks Tony for the response.

Sure i can wait for this till the weekend.

19/05/2014
11:53
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

This bug is live mystery. Have loked for reasonable solution but none.

The problem was fixed if I declare the fl variable outside the bind click event.

Here is the fix in GitHub

Please let me know if this resolves the problem for you. I'm very curious.

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

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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