Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Ext.LoadMask() and dom.firstChild error in IE

  1. #11
    Ext User
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    7
    Vote Rating
    0
      0  

    Default

    PHP Code:
        var cm = new Ext.grid.ColumnModel([{
               
    header'Vorname',
               
    dataIndex'vorname',
               
    width150,
               
    sortabletrue,
               
    editor: new Ext.grid.GridEditor(new Ext.form.TextField({
                   
    allowBlanktrue,
                   
    inputType'text'
               
    }))
            }, {
               
    header'Nachname',
               
    dataIndex'nachname',
               
    width150,
               
    sortabletrue,
               
    editor: new Ext.grid.GridEditor(new Ext.form.TextField({
                   
    allowBlanktrue,
                   
    inputType'text'
               
    }))
            }, {
               
    header'Firmenname',
               
    dataIndex'firmenname',
               
    width200,
               
    sortabletrue,
               
    editor: new Ext.grid.GridEditor(new Ext.form.TextField({
                   
    allowBlanktrue,
                   
    inputType'text'
               
    }))
            }, {
                
    dataIndex'options',
                
    width65,
                
    sortablefalse,
                
    resizablefalse,
                
    editablefalse
            
    }]);

        var 
    grid = new Ext.grid.EditorGrid('topic-grid', {
            
    dsAddressDatastore,
            
    cmcm,
            
    loadMasktrue,
            
    selModel: new Ext.grid.RowSelectionModel({singleSelectfalse}),
            
    enableColLockfalse,
            
    enableDragDroptrue
        
    });

            
    // Header-Toolbar
        
    var tb = new Ext.Toolbar(grid.getView().getHeaderPanel(true));

        
    tb.add({
            
    icon'images/add.gif',
            
    text'Adresse hinzufügen',
            
    cls'x-btn-text-icon',
            
    handler: function() {
                
    addAddress();
            }
        }, {
            
    icon'images/csv_import.gif',
            
    text'CSV importieren',
            
    cls'x-btn-text-icon',
            
    handler: function() {
                
    csvAddressImport();
            }
        }, {
            
    icon'images/csv_export.gif',
            
    text'CSV exportieren',
            
    cls'x-btn-text-icon',
            
    handler: function() {
                
    csvAddressExport();
            }
        }); 
    I have the following problem:
    When i change the Grid my Toolbar can't be displayed again.

  2. #12
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    4
    Vote Rating
    1
      0  

    Default

    To clarify, if someone can post a working test case that we can drop in and run, I'll look into it. We have too many threads to respond to to try and build our own test cases from scratch for everything people post. If you can please help us out by providing something we can work with, we'll take a look.

  3. #13
    Ext User
    Join Date
    Aug 2007
    Posts
    1
    Vote Rating
    0
      0  

    Default

    I've bumped into this one too.
    I'll post a test case when I've recovered from Monday's hefty deadline.

    Adding the following to ext-all-debug.js just inside the destroy function of the Ext.LoadMask.prototype fixes the problem for me:
    PHP Code:
    this.el._mask '';
    this.el._maskMsg ''
    A more elegant fix :
    PHP Code:
    ds.on('beforeload', function() {
     if(
    this.loadMask) {
       
    this.loadMask.el._mask '';
       
    this.loadMask.el._maskMsg '';
     }
    },
    grid); 
    Hope this helps.
    Cheers.

Page 2 of 2 FirstFirst 12

Posting Permissions

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