Page display:
for the filter on the page has a drop-down box loaded, directly under the corresponding display when loaded{ text : ' product line ', dataindex : ' Entorgid ', align : ' Center ', width : 150, renderer:function (Value,metadata,record ,rowindex, Colindex,store,view) { if (value != "") { $ ("#entorgid option "). each (function () { if ($ (this). Val () == value) { value = $ (This). Text (); } }); } return value; } }
If the filter does not have a corresponding drop-down box, directly set the drop-down box and then hide, of course, if you need to display to adjust hidden.
It is important to note that the Title property is used to store the encoding of the field in the database. Which is the Mdp_cmm_dict table code .<select class= "Form-control mmp-select hidden" id= "Crmentid" name= "Crmentid" title= "Crm_entid" >< ;/select>
page export display:
There are two ways to resolve the exported data containing explicit, 1) directly associated with the database of the Dictionary table 2 directly in the corresponding SQL in the case when operation display
<! [Cdata[( case mt. terminal_property WHEN 1 THEN ' 3C chain store ' WHEN 2 THEN ' National Business Super Store ' WHEN 3 THEN ' Top Store ' when 4 then ' flagship store ' WHEN 5 THEN ' other outlets ' else ' unknown type ' END ) ]]>as terminal_property,
The front-end page contains explicit related knowledge