PDA

View Full Version : Menu with ColumnTree doesn't destroy



wininie
30 Apr 2010, 3:29 AM
Hi,

(sorry for my bad english)

I have a menu with a Tree and this tree is in a window.
The first time when i open the window, the menu is OK.
But if i close the window and then i reopen it, the menu is empty.

I add the listener 'destroy' on my menu, et whan i close the window it didn't call.

If i add 'myMenu.destroy()' when i close the window, it works fine.
But i think, it's not the right thing to do.

How could i do?

Thanks for your help.

wm003
4 May 2010, 1:08 AM
Could you please post your example code?

CrazyEnigma
4 May 2010, 11:21 AM
Try:


autoDestroy: true