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
AutoComplete in advanced search
27/01/2010
19:05
Avatar
Pras
Member
Members
Forum Posts: 5
Member Since:
06/01/2010
sp_UserOfflineSmall Offline

I have added Autocomplete in advanced search over one of the columns. It works first time , but when I add second filter and try AC , its doesn't works. Doc says that DataInit works firs time when the element is created. The feaure works fine with datepicker, but not with any other fetures. I added daterangepicker on one of colmns and it didn' quite worked.

I looked into searchFilter.js and it seems that datepicker functionality is added there, not sure how AC is going to be integrated.

I have used

dataInit(elem):function(){

$("#elem").autocomplete('dataurl',{settings});

28/01/2010
03:53
Avatar
Pras
Member
Members
Forum Posts: 5
Member Since:
06/01/2010
sp_UserOfflineSmall Offline

I digged into docs and code of JQGrid(searchFilter.js), but could not find anything substantial. What I fail to understand is am using datePicker as dataInitialization for one of my columns, and autoComplete on another columns. While datepicker works fine no matter how many new filters I create, Autcomplete works only the first time( I have ac on my first column), I create the filter.
Am not able to nail down this disparate behavior yet.
The only tweak I think of is( finding text box corresponding to the filter I choose and if it matches what I want , add AC to the text box,nit sure if that works.)
$('#fbox_list').find('select[name=field]').autocomplete

update<< this is also not working 🙁 >>

Cheers

P

28/01/2010
17:16
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

If you look into the searchFilter code you will see that datepicker is treated separatley in this plugin.

I will think on this.

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

28/01/2010
17:37
Avatar
Pras
Member
Members
Forum Posts: 5
Member Since:
06/01/2010
sp_UserOfflineSmall Offline

Yeah , I saw that. I reckon we can thin about integrating Autocomplete as you had done for datePicker(). Thanks for ths great plugin Tony!!!

Later

Pras

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