Results 1 to 2 of 2

Thread: qtip in compositefield

  1. #1
    Sencha User
    Join Date
    Mar 2010

    Default qtip in compositefield

    How do you make qtip for labels in a compositefield, is this possible?

    For a regular texfield, it would have been something like this:

    PHP Code:
    xtype 'textfield',
    fieldLabel'<span ext:qtip="This is the title">'title +'</span>'
    However, the same approach doesn't work in a label inside a compositefield:

    PHP Code:
    xtype 'label',
    style'padding-top : 4',
    text '<span ext:qtip="This is the title">'title +':' +'</span>' 

  2. #2
    Ext Premium Member
    Join Date
    May 2010


    It is possible, but you have to use Ext.QuickTips:

      xtype: 'compositefield',
      fieldLabel: 'I am the label',
      items: [ ... whatever ... ],
      listeners: {
        'render': function(c){
            target: c.label,
            text: 'I am the hint text displayed on mouse over'
        scope: this
    Remember to call Ext.QuickTips.init(); during application init.

Similar Threads

  1. Replies: 2
    Last Post: 23 Nov 2017, 2:30 PM
  2. Confused by CompositeField
    By mankz in forum Community Discussion
    Replies: 2
    Last Post: 14 Oct 2010, 10:10 AM
  3. How got a normal qtip and a error qtip in same time?
    By khatuido in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 5 Feb 2008, 5:48 AM

Tags for this Thread

Posting Permissions

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