Results 1 to 3 of 3

Thread: Tagfield tooltip

  1. #1

    Default Tagfield tooltip

    Hello guys, Here I'm with a new post.
    I m using tag filed with Ext.QuickTips.My problem is, once I deselect all the items from the list still I can see that tip without any text. I tried to unregister but the problem I'm having with unregistering is, the second time I'm not getting any tip.

    https://fiddle.sencha.com/#fiddle/2ojm&view/editor


    Is there any way for unregistering the tooltip for tag field?

  2. #2
    Sencha Premium Member
    Join Date
    Mar 2014
    Posts
    60

    Default

    https://fiddle.sencha.com/#fiddle/2ouk&view/editor

    I usually prefer to just use the actual ToolTip class rather than use the QuicktipManager.

    Here is a solution that will unregister (in this case, set target to null) tooltip when user deselects down to 0 elements, and sets the target every time the user selects something.
    You really shouldn't need to set the target every time user makes a selection, just when once in the beginning when user starts selecting after selection was zero.
    But you can improve the performance yourself I guess.

    WARNING:
    You will have to destroy the tooltip yourself, it will not be destroyed for you as far as I know.
    So remember to do that whenever you stop using it (so like when the combo box is destroyed for example).

  3. #3

    Default

    Hello Laila,
    thanks for the reply, I updated your code with some changes.

    https://fiddle.sencha.com/#fiddle/2p14&view/editor

Similar Threads

  1. ExtJs ToolTip- Rendering Tooltip info like in tabular Fomat
    By 2mailpks in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 23 May 2016, 9:08 PM
  2. Replies: 2
    Last Post: 18 Apr 2016, 1:47 PM
  3. ToolTip for the selected tagfield items
    By lalit007 in forum Ext JS 6.x Q&A
    Replies: 3
    Last Post: 22 Mar 2016, 5:24 AM
  4. Tagfield: edit record value with tagfield
    By josei in forum Ext 5: Q&A
    Replies: 4
    Last Post: 8 May 2015, 5:40 AM

Posting Permissions

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