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
Search dialog from jqGrid 4.3.2 can ignore the last entered data
Tags: saerching
11/04/2012
01:45
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hello Tony,

I updated some demos to jqGrid 4.3.2 and found the following changes see here. One included setTimeout inside of 'change' event handler. It's a problem in the following simple situation: One opens searching dialog, change the searching field, then enter the searching value and press directly the "Find". It some situaltions the doby of setTimeout inside of 'change' in the line will be called too late. First will be processed the search which use getParameter to get the current filter and then the filter will be updated.

Another thing which I don't understand is: there are another 'change' event handler in the lines. It doesn't use any setTimeout. Either one sould use setTimepou in both places or in no place.

It seems to me that reading of the final values to the filter insied of getParameter would solve all problems. Probably one can call $form.find(".input-elm").triggerHandler('change', [true]) with additional parameter (see [extraParameters]) inside of the getParameter. So one can force imediate refreshing (without setTimeout) of filter object with information from the input controls.

Best regards
Oleg 

12/04/2012
11:21
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello Oleg,

All these are related to the jQuery Autocomplete, where jQuery UI team changes recently it behaviour.

(I suppose with thier 2.0 release after ... years it will be stable)

Will look at your recommendations.

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