[CLOSED] MVC 4 Razor Table Layout.Table

  1. #1

    [CLOSED] MVC 4 Razor Table Layout.Table

    Hi Support,

    I am having a problem trying to use the layout.table do you have a sample? Say like https://examples2.ext.net/#/Layout/T...mple_in_Markup

    Thanks,

    Ashley
    Last edited by Baidaly; Jun 19, 2013 at 12:46 AM. Reason: [CLOSED]
  2. #2
    Hi @ashleysbuss,

    Please clarify what exactly problem are you facing?

    Here is an example.

    Example
    <!DOCTYPE html>
    <html>
    <head>
        <title>Ext.Net.MVC v2 Example</title>  
    </head>
    <body>
        @Html.X().ResourceManager()
    
        @(Html.X().Container()
            .Height(400)
            .Width(400)
            .LayoutConfig(new TableLayoutConfig() { Columns = 2 })
            .Items(
                Html.X().Panel().ColSpan(2).Title("Cell 1").Height(100).Width(400),
                Html.X().Panel().RowSpan(2).ColSpan(2).Title("Cell 2").Height(200),
                Html.X().Panel().Title("Cell 3").Height(100),
                Html.X().Panel().Title("Cell 4").Height(100)
            )
        )
    
    </body>
    </html>
  3. #3

    Thank you

    That was a clear example that started me on the right path.

    Ashley

Similar Threads

  1. [CLOSED] How to set table layout in MVC panel
    By MTSI in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 05, 2013, 10:18 PM
  2. Table cannot be handled by layout
    By Bubu in forum 2.x Help
    Replies: 9
    Last Post: Nov 27, 2012, 4:33 AM
  3. [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
  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