Results 1 to 1 of 1

Thread: Problem with dom and Ext.element in IE

  1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    30

    Default Problem with dom and Ext.element in IE

    I create elements with Ext.element like this:

    Code:
    var table = new Ext.Element(document.createElement('table'));
        
        for(n=0;n<5;n++)
        {
            row = new Ext.Element(document.createElement('tr'));
            for(x=0;x<4;x++)
            {
                col = new Ext.Element(document.createElement('td'));
                col.update('cell text '+x);    
                row.appendChild(col);
            }
            table.appendChild(row);
        }
            
        Ext.fly('data').replaceWith(table);
    This works in FF and IE8 but not in IE7, why is that?
    Last edited by da_bar; 6 May 2011 at 5:40 AM. Reason: IE7 not IE8

Similar Threads

  1. Element.alignToXY IE problem
    By thedave in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 27 Mar 2011, 10:44 PM
  2. Element.scroll problem in ie??
    By Tim Toady in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 29 Mar 2010, 12:51 PM
  3. removing element problem
    By MichaelOstrovsky in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 28 May 2008, 11:27 PM
  4. Element.hide() element.setVisible() & Element.show()
    By xnoor in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 6 Apr 2008, 12:23 AM
  5. Problem with Ext.Element.findParent
    By doc in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 7 Jan 2008, 3:07 AM

Posting Permissions

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