Forum


03:10

02/09/2011

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
});
Thanks a Lot!
ps: Sorry about my english!
17:30

Moderators
30/10/2007

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.
22:36

Moderators
30/10/2007

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.
20:59

02/09/2011

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!
22:15

Moderators
30/10/2007

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