Hi!

I am trying to create a table with DomHelper. It seems that it is not possible to add a tr-element to the thead-element. Is this a known bug in MSIE 6 or is something wrong with my code?

Code:
var table = Ext.DomHelper.append(
    'my-div',
    {
        tag: 'table',
        children: [
            {tag: 'thead', id: 'table-head'},
            {tag: 'tbody', id: 'table-body'}
        ]
    },
    true
);

    
Ext.DomHelper.append(
    Ext.get('table-head'), // table.dom.firstChild, 
    {
        tag: 'tr',
        children: [
            {tag: 'th', html: 'Attachment'},
            {tag: 'th', html: 'Size'},
            {tag: 'th', width: '100%', html: 'Description'}
        ]
    }
);
If I use 'table-body' or table.dom.lastChild in the second call to append() the code works. Maybe this thread is related.

Any help greatly appreciated,
Horst