Results 1 to 5 of 5

Thread: ToolTip in DateField

  1. #1

    Default ToolTip in DateField

    I have requirement to provide ToolTip with DateField. Please help. Its urgent.

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    On the trigger on on the input?
    Code:
    dateField.on('render', function(c){
      Ext.QuickTips.register({
        target: c.getEl(),
        text: 'Enter a date'
      });
      Ext.QuickTips.register({
        target: c.trigger,
        text: 'Click to select a date'
      });
    });

  3. #3

    Default

    Thanks for the reply, its working now.

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    Try:
    Code:
    ...
      beforeBlur: function() {
        top.frmApplet.formatDateControlExt(this); 
      },
      afterRender: function(){
        com.abc.components.CLDateField.superclass.afterRender.call(this);
        Ext.QuickTips.register({
          target: c.getEl(),
          text: 'Enter a date'
        });
        Ext.QuickTips.register({
          target: c.trigger,
          text: 'Click to select a date'
        });
      }
    });

  5. #5

    Default

    Thanks for the reply, its working now.

Similar Threads

  1. Can I move the ToolTip tip anchor graphic to midway down the tooltip?
    By jscolton in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 3 Mar 2011, 6:36 PM
  2. [OPEN-1240] DateField appears behind Tooltip
    By Andreas B. in forum Ext 3.x: Bugs
    Replies: 0
    Last Post: 26 Aug 2010, 11:28 PM
  3. How to make ext.tooltip looks like a Yahoo style balloon tooltip
    By pchang9806 in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 31 May 2009, 11:15 PM
  4. Replies: 0
    Last Post: 11 Dec 2008, 6:04 AM
  5. Replies: 4
    Last Post: 24 Mar 2008, 2:15 PM

Posting Permissions

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