New Ext.window ({width:500,height:300,items:new Ext.form.ComboBox ({id: ' Combo1 ', width:150,height:30,store:new Ext.data.JsonStore ({root: ' Data ', fields: [{name: ' func_id '}, {name: ' Func_title '}],proxy:new Ext.data.ScriptTagProxy ({url: ' http://localhost:8080/server/map_t_func_list/listFunc.do '}), Baseparams: {systemgroup: ' WEB ', Mobileids: ' Bdzfzl001,sgbj001 '}), Typeahead:false,loadingtext: ' Searching ... ', triggeraction: ' All ', lazyrender:true, Displayfield: ' Func_title '}). Show ();
Server-side data:
StcCallback1003 ({"Data": [{"func_id": "bdzfzl001", "Func_title": "???????????", "Func_url": "listview.html", "Icon_ URL ":"./img/funbutton/btn_bdzfzl.png "," Show_order ":" 6 "},{" func_id ":" sgbj001 "," Func_title ":"? 1???? "," Func_url ": "Listview.html", "Icon_url": "./img/funbutton/btn_sgbj.png", "Show_order": "9"}], "MSG": null, "Code": 200})
There is no problem with garbled characters.
Ext.form.ComboBox server-side load data