Mar 17, 2011, 4:14 PM
Does AutoScroll works with 2 columns inside a Panel? (Layout=Column)
Hi there, I have a tab which contains a form, inside that form I have 2 columns with many, many textfields, the second column has most of the fields and I would like to be able to scroll the whole form when the contents of the Column #2 don't fit instead of adding a vertical scrollbar to Column #2 only, is that possible?
Thanks!
Thanks!
<ext:Panel ID="tabContact" runat="server" Title="Contact" Layout="Fit" Border="False">
<Items>
<ext:FormPanel ID="frmContactData" runat="server" ButtonAlign="Right" Padding="10"
Border="false" IDMode="Static" Frame="true" AutoScroll="True" Layout="Column" Height="200">
<Items>
<ext:Panel ID="Panel4" runat="server" Border="false" Header="false" ColumnWidth=".5"
Layout="Form" LabelAlign="Left" Height="400">
<Items>
<ext:TextField ID="TextField1" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField2" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField3" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField4" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField5" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField6" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
</Items>
</ext:Panel>
<ext:Panel ID="Panel5" runat="server" Border="false" Header="false" ColumnWidth=".5"
Layout="Form" LabelAlign="Left" Height="400">
<Items>
<ext:TextField ID="TextField7" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField8" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField9" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField10" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField11" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField12" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField13" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField14" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField15" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField16" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField17" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
<ext:TextField ID="TextField18" runat="server" AnchorHorizontal="99%" FieldLabel="Name">
</ext:TextField>
</Items>
</ext:Panel>
</Items>
</ext:FormPanel>
</Items>
</ext:Panel>