Forum
16:11
09/11/2010
Try this:
search: true, searchoptions: {value:'True:True;False:False'}, stype: 'select'
For me in 4 it works, but I'm having a layout problem with the window layout.
22:54
Moderators
30/10/2007
Hello,
Thanks.
The expression of type "does not work" is the most used when es goes to describe the problem.
In order to help me, and help you, you must proof what you desscribe or with other words a test case is needed - otherviewse nobody can replay.
Thank you
Kind 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.
Tony,
Totally agree.Sorry to be to short in the last problem description.
I don't have a public webpage to do a prof of concept of it, but the problem is simple to reproduce.
I have a column like this :
name: 'Country', index: 'Country', align: 'left', sortable: true,
editable: true, edittype: "select", editoptions: { value: GetCountries() }, width: 160,
searchoptions: { sopt: ['cn', 'eq', 'bw', 'ew', 'nc', 'ne'] }
},
When the page with the grid is loaded, the column HTML is the following :
And the GetCountries returns:
724:Spain;752:Sweden
When I press edit. The window with the selected record is totally populated, but the dropdown selected value is Belgium instead of Hungary.
This problem only occurs with IE (tested with version 8 and 9). With firefox and Chrome the Hungary is automatically selected on the edit.
This is a bit stranger. Because in some of my controllers it works at the second time I open the edit window (IE behaviour). Other controllers with exacly the same implementation, i can press the edit button several times and the saved value is never selected in the dropdown select box.
I have changed to jqgrid src with all the bug fixes.
I hope the explanation was enlightening
Best regards,
Most Users Ever Online: 715
Currently Online:
33 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