Results 1 to 4 of 4

Thread: TableLayout percentage widths

  1. #1

    Default TableLayout percentage widths

    I have a simple table layout (2 columns) but I want to be able to set percentage based widths. So I need to get access to the "td" tags in generated layout. How do I go about this? If I can specify what values of the "id" attribute for the "td" tags that would be great.

    I can't set the "id" attribute within the items array because those will be "div" tags. Any ideas?



    Thanks in advance. Scott.

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    You could use DomQuery to access the elements using "td:nth-child(?)" selectors?

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    4

    Default

    Based on the current implementation of TableLayout, DomQuery would probably be the way to go unfortunately. However, being able to specify an id and/or class/styles per cell would probably be pretty useful. We'll look into that.

  4. #4
    Ext User
    Join Date
    Aug 2007
    Posts
    20

    Default

    Ran into this same thing today, so another +1 for this one

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •