[CLOSED] How to set table layout in MVC panel

  1. #1

    [CLOSED] How to set table layout in MVC panel

    How can i set the table layout for a form panel. In the below sample how to configure the <LayoutConfig> tag in MVC code?

    <ext:Panel
                    id="pnlTableLayout"
                    runat="server"
                    Region="Center" 
                    Title="Table Layout"
                    BodyPadding="15"
                    Layout="TableLayout">
                    <LayoutConfig>
                        <ext:TableLayoutConfig Columns="4" />
                    </LayoutConfig>
     </ext:Panel>
    
    MVC Code
    -----------
     Html.X().FormPanel()
            .BodyStyle("padding:5px 5px 0;")
            .Layout(LayoutType.Table)
            .LayoutConfig(????)
    Last edited by Daniil; Mar 12, 2013 at 5:40 AM. Reason: [CLOSED]
  2. #2
    Seems like there are few samples in the forums demonstrating how to configure the LayoutConfig using Razor. Here's a couple I found:

    http://forums.ext.net/showthread.php...for-stretching
    http://forums.ext.net/showthread.php...-Layout-Config
    Geoffrey McGill
    Founder

Similar Threads

  1. Table cannot be handled by layout
    By Bubu in forum 2.x Help
    Replies: 9
    Last Post: Nov 27, 2012, 4:33 AM
  2. [CLOSED] Table Layout, 100% width Table
    By sisa in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 20, 2011, 6:40 AM
  3. Table Layout Problem with IE Compatibility
    By tugrul in forum 1.x Help
    Replies: 2
    Last Post: May 02, 2011, 7:16 AM
  4. [CLOSED] [1.0] Portal with Layout="Table"
    By betamax in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 16, 2010, 4:02 PM
  5. [CLOSED] Table layout width in %
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 22, 2009, 3:14 PM

Posting Permissions