Results 1 to 3 of 3

Thread: How could I create tooltip above combobox with selected record?

  1. #1
    Sencha User
    Join Date
    Oct 2014
    Posts
    4

    Default How could I create tooltip above combobox with selected record?

    I try this:
    Code:
    listeners: {'select': function(combo, record, index){
      var quickTipText = '';        
      Ext.QuickTips.unregister(this.getEl());
      if ((record instanceof Ext.data.Record) && (record.get('field1') !== ""))
        quickTipText = record.get('field1');
      if (quickTipText) {
        Ext.QuickTips.register({
        target:  this.getEl(),
        text: quickTipText
        });
      }             
    }
    }
    It doesn't work.

  2. #2
    Sencha User
    Join Date
    Oct 2014
    Posts
    4

    Default

    ---

  3. #3
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165

    Default

    Hi,

    See if the below fiddle helps to get you going in the right direction:


Posting Permissions

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