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
Multiple toolbar search
08/12/2008
12:32
Avatar
bambou713705
Member
Members
Forum Posts: 3
Member Since:
08/12/2008
sp_UserOfflineSmall Offline

Hello,

First of all, thanks for coding this amazing jQuery plugin!

I've got a problem using Multiple toolbar search. I proceed like it's shown on demo page.

I create my grid, and then add filter like this :

        jQuery("t_myGrid").height(25).hide().filterGrid(
            "myGrid", {gridModel:true,gridToolbar:true}
        );

As in the demo, t_myGrid is not an HTML element explicitly declare, I guess It, and decendant, are generate by jQuery, and filterGrid function.

But, this doesn't work on my test file...filterGrid function is executed, but this.each() part of filterGrid function is never called as,  I guess,  t_myGrid is not define...

So, this as a result that my grid has an empty toolbar always display, and my search button doesn't work...

Have you got any idea to fix this issue?

Thanks

09/12/2008
06:58
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Do you have in the grid definition this line of code

toolbar : [true,"top"],

....

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.

09/12/2008
08:01
Avatar
bambou713705
Member
Members
Forum Posts: 3
Member Since:
08/12/2008
sp_UserOfflineSmall Offline

Thanks for your answer

Yes I do, here is my code :

http://pastebin.com/m2d181ff3

That is quite similar to the demo code

09/12/2008
08:13
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

jQuery(”#t_myGrid”).height(25).hide().filterGrid(...

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.

09/12/2008
08:42
Avatar
bambou713705
Member
Members
Forum Posts: 3
Member Since:
08/12/2008
sp_UserOfflineSmall Offline

that perfectly works now,so that mean that toolbars should always be named folowing that patern : t_xxxxx?

anyway, thanks a lot for your help, & your work!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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