1. #1
    Sencha User
    Join Date
    Mar 2010
    Vote Rating
    spor is on a distinguished road


    Default qtip in compositefield

    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
    Vote Rating
    MarkusL is on a distinguished road



    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: 1
    Last Post: 31 Jul 2011, 11:58 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

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar