I have tried to setup the search option for each colmodel like(,searchoptions:{defaultValue:”cn”}) but it doesn't work at least with advanced searchoption

fred
Hi,
I have the same request. In the advanced search box, i want to execute the search button when i press enter. ( i used the modal option), but i don't understand how to do that. I try to have a look to the html generated by the search box but i have no idea to do that.
thanks for your helps.
thank you very much.

i will test it
i found my problem
i didn't put the function in loadcomplete.
So it was never called.
, loadComplete: function(){ jQuery("#genDataGrid").jqGrid("setSelection","3");
stupid error
hi,
i just add in the definition ,page:2 and it works fine.
and it's the same if you want to change the sort :
,sortname:columnName
,sortorder:desc
fred
Hi,
i have switch in prodution with jqgrid, and i have the similar request from my users for the multisearch.
Before jqgrid, i had an image, on each header of the column, like for sorting, to add a filter. When we click on this icon, we arrive directly in the search windows. If a filter exist for this column, we arrive directly on the first filter for this column, therefor, we create one. Focus is made on the value for both.
For each column, i had to indicate if we can make a filter on it and which is the default operator. Like this, in most of the case, it avoids 2 clicks.
thanks
fred
Hi,
I'm back to the project.
Thanks for your help. SelectAll work correctly.
But i don't succeed with setSelection. I have tried like in the multiselect exemple from advanced, but nothing happens and i have no errors.
I tried : jQuery(“#genDataGrid”).setSelection(1);
or jQuery(“#genDataGrid”).jqGrid(“setSelection”,”1″); to selet Id 1 but nothing happend.
I have the version 3.6 of JqGrid
I send data by json.
Probably the problem is comming from here.
I send the data like this :
To avoid this problem, i try to use scroll. But i have again the same problems.
When you click on the “check box select all” , the onload is not called.
When the user has selected the row, i generate a new grid with only the selected row for confirmation. if the click on back, i want to turn back to previous grid with the line already selected.
Nobody have an idea ?
Bingo! You got it! 🙂 🙂
The version of multiselect was 1.7pre. I took the one from your download and it works perfectly
thanks a lot.
frederic
nobody have this problem ?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top