Forum
Topic RSS
18:14
19/02/2009
OfflineWhen you use the pager's search button to open up the multi-criteria search/filter dialog, there is a "find" button in the lower, right-hand corner. I can find the <span> element that renders this button, but I can not find a way to call the click event of this button.
This code here works on the pager to open the search/filter dialog:
$('#AccountPager .ui-icon-search').click();
But the following, similar code does not work to click the find button (which has the same class):
$('#fbox_AccountGrid .ui-icon-search').click();
I have tried this:
$('#fbox_AccountGrid').searchFilter().search();
But it does not appear to actually do anything, even though I know my filters are all there. When I use Fiddler to watch the communications with the server, this line of code never initiates the expected refresh/update.
I found the actual code I want to call in jquery.searchFilter.js, starting with line 415. That led me to try the following two options:
$('#fbox_AccountGrid').find('.ui-search').click();
$('#fbox_AccountGrid .ui-search').click();
But these didn't work either. I feel like I am so close! Anyone see what I am missing here?
TIA
18:59
Moderators
30/10/2007
OfflineHello,
To this button already we have a click event attached. What is the goal?
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: 994
Currently Online:
11 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
Log In
Home
