如何在ExtJS4中刷新选项卡面板?
我有这样一个选项卡面板:如何在ExtJS4中刷新选项卡面板?,extjs4,Extjs4,我有这样一个选项卡面板: { xtype : "tabpanel",// region : "center", title : "name", id:"mytabpanel", items : [ { title : "tab1" },{ autoLoad: {url: 'test.jsp', scope: this}, tit
{
xtype : "tabpanel",//
region : "center",
title : "name",
id:"mytabpanel",
items : [ {
title : "tab1"
},{
autoLoad: {url: 'test.jsp', scope: this},
title: 'tab2',
closable:false,
autoScroll:true
} ]
}
不知道如何根据某些参数刷新tab2
谢谢。
自4.1.1以来,自动加载已被弃用。改用
要(重新)加载您的组件。参见示例