Doubt about formpanel with ext container

  1. #1

    Doubt about formpanel with ext container

    IHi,I have a doubt about form panel with ext container.Why the third container part item is not displaying.Please help me.Many times i postedthis issue.I am not getting answer.I am stuck with this one.

    <ext:FormPanel 
                ID="FormPanel1" 
                runat="server" 
                Title="FormPanel Validation (all fields required)"
                MonitorPoll="500" 
                MonitorValid="true" 
                Padding="5" 
                Width="600" 
                Height="450"
                ButtonAlign="Right"
                Layout="Column">
                <Items>
                    
                        
     
            <ext:Container ID="Container2" runat="server" LabelAlign="Top" Layout="Form" ColumnWidth=".5">
                <Items>
                    <ext:TextField ID="TextField1" runat="server" FieldLabel="First Name" AnchorHorizontal="95%" />
                    <ext:TextField ID="TextField2" runat="server" FieldLabel="Company" AnchorHorizontal="95%" />
                </Items>
            </ext:Container>
            <ext:Container ID="Container3" runat="server" LabelAlign="Top" Layout="Form" ColumnWidth=".5">
                <Items>
                    <ext:TextField ID="TextField3" runat="server" FieldLabel="Last Name" AnchorHorizontal="95%" />
                    <ext:TextField ID="TextField4" runat="server" FieldLabel="Email" AnchorHorizontal="95%" />
                </Items>
            </ext:Container>
      
             <ext:Container ID="Container1" runat="server" LabelAlign="Top" Layout="Form" ColumnWidth=".5">
                <Items>
                    <ext:TextField ID="TextField5" runat="server" FieldLabel="middle Name" AnchorHorizontal="95%" />
                    <ext:TextField ID="TextField6" runat="server" FieldLabel="Age" AnchorHorizontal="95%" />
                </Items>
            </ext:Container>       
                    
    
                </Items>  
            </ext:FormPanel>
    First two container item is displaying.But middle name and age is not displaying .Please help me................................................ ..
  2. #2
    Hi,

    The ColumnWidths must always add up to 1 (or 100%) when added together.

    The ColumnWidths in your example add up to 1.5 which is wrong, must be 1.

    See also
    http://docs.sencha.com/ext-js/3-4/#!...t.ColumnLayout

    Please do not duplicate the threads, just bump the an existing one updating it with some post. If we have a chance we will answer.
    Last edited by Daniil; Feb 21, 2012 at 8:01 AM.

Similar Threads

  1. Validation on FormPanel with a Container
    By lcestola in forum 1.x Help
    Replies: 4
    Last Post: Jun 26, 2012, 9:55 PM
  2. doubt with GridCommand
    By lucasbarrios2 in forum 1.x Help
    Replies: 0
    Last Post: May 14, 2012, 6:14 PM
  3. [CLOSED] Retrieve the formpanel ID rendered within a container window
    By Daly_AF in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 23, 2012, 10:22 AM
  4. Doubt about Formlayout with ext container
    By NishaLijo in forum 1.x Help
    Replies: 3
    Last Post: Feb 21, 2012, 8:00 AM
  5. License doubt
    By joao.msdn in forum Licensing
    Replies: 5
    Last Post: Mar 24, 2011, 5:12 AM

Posting Permissions