PDA

View Full Version : Have Example using Tree and BorderLayout?



kitepad
5 Apr 2007, 4:07 AM
Hi,

I'm preparing to create a application using Ext, main layout is BorderLayout, west is a navigation tree, when click navigation tree,
a tab will be added into center and load a html file.

I study Ext's doc application and try to add a tab using layout.add() function, but it's not work.

Would you have any sample for this scenario?

Very thanks.

kitepad
5 Apr 2007, 5:45 AM
Solved. Use Ext.DomHelper create a HTMLElement, then add a ContentPanel to layout's center.