lambypie
lambypie

Reputation: 481

How to remove items from window in ext js?

I want remove all the items from the Ext window component. Means i have to clear the window in a button event. Any help is must appreciated....Thankz

just

Upvotes: 0

Views: 7943

Answers (1)

MMT
MMT

Reputation: 2216

try

removeAll() method of window, which Removes all components from this container.

window.removeAll() or Ext.getCmp('windowId').removeAll();

refer : Ext.Window-method-removeAll

Upvotes: 4

Related Questions