1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    18
    Vote Rating
    0
    tony.summerville is on a distinguished road

      0  

    Default Help with DomHelper & Tables

    Help with DomHelper & Tables


    I'm using the DomHelper to create new dom nodes, which seems to work fine for everything except tables. Normally, I would create a table node, then a table body node, then create each td nodes which append to the right tr nodes, which append back to the table body node. I guess the builder returns a table node no matter if you pass in a "table", "tablebody" or "tr" tag.. or at least thats the way it seems...

    Is there a correct way to build tables using your domBuilder? I'm guessing I could use a template but I don't understand how to append different cells and rows to the table based on a data set..

    Any advice would be appreciated! Thanks.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Tables are a pain because of IE. If you aren't using the templating, something as simple as:

    var dh = YAHOO.ext.DomHelper;
    dh.useDom = true;

    // make your tables

    dh.useDom = false;

    may work. It's on the list to rebuild the IE table hack for 0.40 to support tables.

Similar Threads

  1. DomHelper Template using tables (bug in ff & insert at t
    By aconran in forum Ext 1.x: Help & Discussion
    Replies: 14
    Last Post: 13 Mar 2007, 11:48 AM
  2. DOMHelper in IE?
    By kjordan in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 29 Jan 2007, 7:40 AM
  3. DomHelper
    By INeedADip in forum Ext 1.x: Bugs
    Replies: 6
    Last Post: 2 Jan 2007, 6:08 AM
  4. yui noob question - grids/layouts/tables ?
    By amackay11 in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 4 Dec 2006, 9:56 AM
  5. DomHelper id
    By zquirm in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 29 Nov 2006, 3:14 PM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar