Forum



21:30

13/08/2010

Our grid hangs when we set search: true in .navGrid:
.navGrid("#list", add: false, edit: false, del: false, search: true, refresh: true, view: true}
With above,
1. Search button shows up in navgrid
2. Press Search button and grid hangs.
A. There is a search dialog titled "Search ..." displayed over the grid
B. The dialog and grid hang. There are grey diagonal lines over both.
Why?
All other navGrid buttons DO SOMETHING.
1. add/edit - display form editing dialog
2. refresh - refreshes the screen
etc.
This online doc: /jqgridwiki/doku.php?id=wiki:toolbar_searching
says the following:
"The method uses the url option in grid to perform a search to the server.
When the search is activated, an array of type name:value is posted to the server."
But, wireshark shows no request is made to the server.
We appreciate jqGrid and know English is not first language of the author. (For a good laugh, we can write doc in YOUR language 🙂
Would appreciate clarity on this, please.
22:25

13/08/2010

fwiw, we found this: http://www.trirand.net/forum/d.....038;m=2630
Using themes version greyed out the grid before we even pressed Search.
There is no jquery.searchFilter.css in our download.
QUESTION: how does one know the development version vs. any other (production? test?) version?
Is this not supposed to be trivial to make default .navGrid search work?
23:00

13/08/2010

Yes, the answer is *styling* per URL above. (Thanks, Tony. Used search all over the forums and didn't find it until we google'd for answers).
If you don't have the proper .CSS files search will not work per above.
Posting an answer for the cause, as I see others have run into the same problem, but no answer posted.
05:09

13/08/2010

Well, answer is above is still not complete.
The multiselect still displays diagonal greyed lines over grid behind the modal search dialog.
This example is how we want it to work: /blog/jqgrid/jqgrid.html
We are using ui.multiselect.css, but still get this.
Can anyone help us so we do not have to spend hours, perhaps days, debugging jqGrid stuff??? Much appreciated.
22:34

14/09/2010

I struggled with this for many hours using the 3.8 demo. I can't believe they ship it with an omission that breaks core functionality like this. Simple fix is to edit the ui.jqgrid.css file and add this line (from the 3.7 version):
.ui-searchFilter{display:none;position:absolute;z-index:770;overflow:visible;}.ui-searchFilter table{position:relative;margin:0;width:auto;}.ui-searchFilter table td{margin:0;padding:1px;}.ui-searchFilter table td input,.ui-searchFilter table td select{margin:.1em;}.ui-searchFilter .ui-state-default{cursor:pointer;}.ui-searchFilter .divider{height:1px;}.ui-searchFilter .divider div{background-color:black;height:1px;}
Most Users Ever Online: 715
Currently Online:
65 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