I am doing a single search. The problem I'm having is when I use the
stype:'select', searchoptions:{value:”0003:ABC Company;0004:XYZCompany”}
I believe this is related due to the topic title, but I don't understand the solution.
I have a grid with a column setup as this:
|
1 |
{name:'merch_id',index:'merch_id',width:150, align:'center',editable: true, stype:'select', searchoptions:{value:"00000003:ABC Company;00000004:XYZ Company", sopt:['cn','nc']}, formatter:'select', edittype:"select", editoptions:{value: "00000003:ABC Company;00000004:XYZ Company"}},<br /> |
|
1 |
|
1 |
When you bring up the search dialog, it displays the items correctly as a dropdown and you can select them, etc. Once you submit this however, it sends the following parms: |
|
1 |
<tr><td class="netInfoParamName">_search</td><td class="netInfoParamValue"><pre>true |
|
1 |
1258484858633 |
|
1 |
getdata |
|
1 |
1 |
|
1 |
10 |
|
1 |
<span style="color: #ff0000">00000003:ABC Company;00000004:XYZ Company</span> |
|
1 |
cn |
|
1 |
00000004 |
|
1 |
list_name |
|
1 |
asc |
|
1 |
<br />Note the searchString is correct (from the one I selected), but the searchField should be populated with merch_id. |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top