how to removeTab() without destroying pane

Hi,all:
when call TabSet.removeTab(), then pane in the removed tab will be destroyed also. any good idea to remove tab(s) but not effect the associated tab. thx

Call updateTab(tab, null) immediately before removing it.

but it will show error: “undefined” is null or not an object

Why don’t you give that another try, updateTab() with a null pane is a known working approach.

Alternatively, if you think you have discovered a bug in SmartClient, please submit an Issue Report as described under the Debugging Topic.

It work well now but not using the updateTab(tab,null). I just overwrite the method removeTab(tab), anyway , thank you very much!