Jun 27, 2012, 10:40 AM
viewport inside panel
Hi all
I have Tabpanel and few Panel's
I need to have different layouts inside each panel, for example:
on Panel1, I need Tree on left, Grid on top and bottom
on Panel2, I need to have grid on top and bottom
How to achieve that?
I saw some example's which uses Viewport, and it looks great, but problem is - I can not have many viewports?
Other thing - If I use just single Viewport, it is displayed on all Panels.
Is there some other way ?
here is whole code for single tab (I have removed all toolbar/buttons) - it does not look nice :(
THANKS
I have Tabpanel and few Panel's
I need to have different layouts inside each panel, for example:
on Panel1, I need Tree on left, Grid on top and bottom
on Panel2, I need to have grid on top and bottom
How to achieve that?
I saw some example's which uses Viewport, and it looks great, but problem is - I can not have many viewports?
Other thing - If I use just single Viewport, it is displayed on all Panels.
Is there some other way ?
here is whole code for single tab (I have removed all toolbar/buttons) - it does not look nice :(
THANKS
<body>
<form id="Form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:TabPanel ID="TabPanel1" runat="server">
<Items>
<ext:Panel ID="Panel4" runat="server" Title="Some_Title">
<TopBar>
</TopBar>
<Content>
<Items>
<ext:Panel ID="Pane21"
runat="server"
Region="North"
Title="North"
Height="200"
split="true">
</ext:Panel>
<ext:Panel ID="Panel22"
runat="server"
Region="West"
Title="West"
width="300"
split="true">
</ext:Panel>
<ext:Panel ID="Panel23"
runat="server"
Region="Center"
Title="Center"
/>
</Items>
</Content>
</ext:Panel>
</Items>
</ext:TabPanel>
</form>
</body>