Forum


19:05

06/01/2010

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});
03:53

06/01/2010

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
17:16

Moderators
30/10/2007

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.
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66