1. #1
    Ext User
    Join Date
    Feb 2010
    Posts
    8
    Vote Rating
    0
    romanczar is on a distinguished road

      0  

    Default Ext Designer Problem: How to define number of columns in column layout?

    Ext Designer Problem: How to define number of columns in column layout?


    How can you define the number of columns when you picked column layout for a container? Ho can you define colspan and rowspan?

  2. #2
    Sencha - Management Team abe.elias's Avatar
    Join Date
    Aug 2008
    Location
    Palo Alto, CA
    Posts
    406
    Vote Rating
    4
    abe.elias is on a distinguished road

      0  

    Default


    Try using a Table Layout.

  3. #3
    Ext User
    Join Date
    Feb 2010
    Posts
    8
    Vote Rating
    0
    romanczar is on a distinguished road

      0  

    Default


    Dooh!

    THX. I totally forgot about that difference...

  4. #4
    Sencha User
    Join Date
    Apr 2007
    Location
    Minneapolis, MN
    Posts
    54
    Vote Rating
    0
    rlieving is on a distinguished road

      0  

    Default


    I'm trying to do the same and table layout is not achieving anything. Still cannot define the number of columns OR rows. What am I missing?

  5. #5
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    When you set the layout to table, a (Layout) property is created named "columns". You will find it in the Component Config section. Only columns are set. When you have N items, it creates (N / columns) rows. You can additionally set colspan and rowspan on any child item of the table layout container.

    Hope that helps!