Apr 24, 2009, 11:34 PM
[CLOSED] Collapsed Panel Title
I'm trying to figure out how to display a text title on a collapsed panel in a ViewPort.
I found one topic (http://forums.ext.net/showthread.php?1639) that suggested the following, but this doesn't work.
This topic (http://forums.ext.net/showthread.php?859) refers to a plugin, which I havn't tried. Franky, this seems like it should be simple.
Is there a simple way to do this, or do I need to use a plugin?
I found one topic (http://forums.ext.net/showthread.php?1639) that suggested the following, but this doesn't work.
<form id="form2" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" />
<ext:ViewPort ID="ViewPort1" runat="server">
<Body>
<ext:BorderLayout ID="BorderLayout1" runat="server">
<Center>
<ext:Panel ID="Panel3" runat="server" Title="Center" BodyStyle="padding:6px;" Html="Center" />
</Center>
<South Split="true" Collapsible="true">
<ext:Panel ID="Panel2" runat="server" Title="Expanded" Height="150">
<Listeners>
<Collapse Handler="this.setTitle('collapsed');" />
<Expand Handler="this.setTitle('expanded');" />
</Listeners>
</ext:Panel>
</South>
</ext:BorderLayout>
</Body>
</ext:ViewPort>
</form>
And the example https://examples1.ext.net/#/Layout/B..._Region_Image/ uses a graphic. I want to use Text.This topic (http://forums.ext.net/showthread.php?859) refers to a plugin, which I havn't tried. Franky, this seems like it should be simple.
Is there a simple way to do this, or do I need to use a plugin?
Last edited by geoffrey.mcgill; Feb 20, 2011 at 12:58 PM.