ext tree 刷新某个指定的节点

来源:互联网 发布:sql中group by的用法 编辑:程序博客网 时间:2024/05/22 12:29
if (formObj.isValid()) {                                          formObj.submit({                      waitTitle : '发送数据',                      waitMsg : '正在保存...',                      timeout : 2000,                      success : function(form, action) {                       var store=tree.getStore();                 store.treeStore.load({node:store.treeStore.getNodeById(pId)});                 editForm.close();                   Ext.example.msg("提示","用户信息修改成功");                      },                      failure : function(form, action) {                       editForm.close();                        Ext.Msg.alert('错误信息', "原因未知");                      }                        })
                       editForm.close();         }

原创粉丝点击