Howto make a table or looking for an alternative

  1. #1

    [CLOSED]Howto make a table or looking for an alternative

    Hello

    Situation:
    I have a collapsible panel and would like to show some simple text data in label fields or disable text fields in a grid form 3 x 4.

    What i have tried so far:
    In the old days I would have done this with a table but the <ext:Panel> doesn't allow normal HTML tags inside it. I tried to add a <ext:TableGrid> but there is no working example (the link found in this forum generates an "not found" error) I have found.

    My questions:
    - How does one do it nowadays?
    - What tags combined with CSS can I use to get my grid of text showing up in a descent way?
    - Or just how does the table stuff work with ext.net?

    Thank you very much. Every input is appreciated.

    best regards!
    Last edited by tMp; Mar 13, 2012 at 2:44 PM. Reason: closed because answered
  2. #2
    Hi,

    Welcome to Ext.NET!

    You can place any Html inside the <Content> region of any Container type (Panel, Window, etc) Component.

    Example

    <ext:Panel runat="server" Title="Example" Width="350" Height="215">
        <Content>
            <span style="color:red;">Your HTML here</span>
        </Content>
    </ext:Panel>
    Geoffrey McGill
    Founder
  3. #3
    Ah, the <content>-tag was my missing link. That will make my life so much easier.

    Thank you very much!
  4. #4
    Or you can use the listview
    https://examples1.ext.net/#/ListView/Basic/Overview/

    Tablegrid example
    https://examples1.ext.net/#/GridPane...ous/TableGrid/

    Hmm no tablegrid in the upcomming v2?

    rgds /Peter

Similar Threads

  1. Replies: 4
    Last Post: Mar 20, 2012, 1:27 PM
  2. Replies: 0
    Last Post: Oct 17, 2011, 7:26 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. [Q] Howto do a postback using a splitbutton?
    By plykkegaard in forum 1.x Help
    Replies: 2
    Last Post: Apr 08, 2009, 6:15 AM

Tags for this Thread

Posting Permissions