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
Advanced Search is blocking app
24/09/2011
03:10
Avatar
handelcamilo
Member
Members
Forum Posts: 7
Member Since:
02/09/2011
sp_UserOfflineSmall Offline

Hi, how  are you?!

I'm having a custom search in my application and it's doing fine. But when I add a search button to my pager and click in it my, both search dalog and my application are disabled. I'm uploading a print-screen to you understand better(hope).

I'm adding these files to my app.

<script type="text/javascript" src="${resource(dir:'js',file:'grid.locale-pt-br.js')}"></script>
<script type="text/javascript" src="${resource(dir:'js',file:'jquery.jqGrid.min.js')}"></script>
<script type="text/javascript" src="${resource(dir:'js',file:'grid.addons.js')}"></script>
        <script type="text/javascript" src="${resource(dir:'js',file:'jquery.searchFilter.js')}"></script>
<link rel="stylesheet" href="${resource(dir: 'css', file: 'ui.jqgrid.css')}" type="text/css">

and just for you know, my custom search code is:

jQuery("#mysearch").jqGrid('filterGrid','#listTable',
                                           {
                                                buttonclass:'buttons',
                                                enableSearch:true,
                                                gridModel:true,
                                                gridNames:true,
                                                formtype:"vertical",
                                                enableClear: true,
                                                autosearch: true,
                                                searchButton:'Procurar',
                                                clearButton:'Cancelar',
                                                url:'${createLink(controller: "document",action:"searchDocuments")}'+'?categoryName='+category
                                           });

ErrorImage Enlarger

Thanks a Lot!

ps: Sorry about my english!

25/09/2011
17:30
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Check your grid CSS if it is loaded. It seems it is not.

Regards

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.

25/09/2011
21:44
Avatar
handelcamilo
Member
Members
Forum Posts: 7
Member Since:
02/09/2011
sp_UserOfflineSmall Offline

Hi tony, thanks for the response.

I'm loading the following resources in the following order:

ui.jqgrid.css

grid.locale-pt-br.js

jquery.jqGrid.min.js

grid.addons.js

jquery.searchFilter.js

What could be wrong? =/

Thanks!

25/09/2011
22:36
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

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.

26/09/2011
20:59
Avatar
handelcamilo
Member
Members
Forum Posts: 7
Member Since:
02/09/2011
sp_UserOfflineSmall Offline

Hmm nothing yet.. =/

When I load

grid.addons.js

jquery.searchFilter.js

the problem appear but my filterGrid works fine. and when I don't load those files the modal search works fine but my filterGrid don't!

And another issue I'm having is that my modal search Always appear when my grid is loaded for the first time. I have tried with showOnLoad:false but no success. =/

Thanks and again, sorry about my english!

26/09/2011
22:15
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello

http://www.trirand.com/jqgridw.....8_to_4.0.0

See the searchFilter notes

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/09/2011
01:14
Avatar
handelcamilo
Member
Members
Forum Posts: 7
Member Since:
02/09/2011
sp_UserOfflineSmall Offline

Hi tony,

I already saw that but it didn't help me at all. I'm loading the correct files but that's not working!

Can I post my entire code?!

Thanks!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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