動態修改EXT中stroe或loader參數baseParams

 var sysFunStore = new Ext.data.Store({
    url: '/connesb/sysmanager/functionQueryAction.do?method=query',
    reader: new Ext.data.JsonReader(
     {
             totalProperty: "results",
             root: "rows"                        
       }, sysFunMessage),
   sortInfo:{field:'functionid',direction:'ASC'},// 排序信息
   baseParams:{functionid : '',title : '',tablenum : '',plat : '',parent : '',type : '' }
});

 

sysFunStore.baseParams["functionid"]=Ext.getCmp("functionidF").getValue();
sysFunStore.baseParams["title"]=Ext.getCmp("title").getValue();

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章