Results 1 to 4 of 4

Thread: "el.parentNode is null" - when adding Tooltip

  1. #1

    Join Date
    Nov 2008
    Location
    Germany
    Posts
    260
    Answers
    4

    Default "el.parentNode is null" - when adding Tooltip

    Hi There,
    I get an unexpected error when trying to show an tooltip on a toolbar button.
    Firebug tells me something like that:

    el.parentNode is null
    el.parentNode.insertBefore(this.dom, el);\n
    ext-all-debug.js (Zeile 3798)


    Code:
    Ext.onReady(function(){
    Ext.QuickTips.init();
    
    [.......]
    
    serviceTb = new Ext.Toolbar({
        id: 'serviceTb',
        items:[
                 serviceCatCombo,
                 {
                    id: 'clearFilterButton',
                    iconCls: 'deleteIcon',
                    disabled: true,
                    tooltip: 'Dokumente aller Kategorien anzeigen.',
                    handler: function(){ 
                            serviceDocDataStore.clearFilter();
                            Ext.getCmp('serviceCatCombo').clearValue();
                            this.disable();
                      }
                  }]
    });
    
    [.......]
    
    });

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245
    Answers
    1

    Default

    Which Ext version are you using?

  3. #3

    Join Date
    Nov 2008
    Location
    Germany
    Posts
    260
    Answers
    4

    Default

    sorry - I am using Ext 2.2

  4. #4
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664
    Answers
    512

    Default

    Where's the toolbar rendered? Try to include it in a panel if the problem persists.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


Posting Permissions

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