Results 1 to 4 of 4

Thread: Dynamically update checkbox tooltip text

  1. #1

    Default Answered: Dynamically update checkbox tooltip text

    Hi all,
    I've added a tooltip to a checkbox as described here, but I'd like to now update the value of `data-qtip` based on different conditions. While I can get the component and replace the `autoEl` to set a new `data-qtip` attribute, this obviously isn't a setter-method and it won't automatically update the DOM when the value changes. Any suggestions?

    Thanks in advance.

  2. Check the following fiddle to see if it works the way you wanted:
    https://fiddle.sencha.com/#fiddle/1joa

  3. #2

    Default

    Anyone?

  4. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    913
    Answers
    105

    Default

    Check the following fiddle to see if it works the way you wanted:
    https://fiddle.sencha.com/#fiddle/1joa

  5. #4

    Default

    Perfect, that's exactly what I was looking for. Thanks for that buddy!

Similar Threads

  1. [FIXED] Tooltip text is displayed outside the tooltip's borders
    By gdlm in forum Sencha GXT Bugs
    Replies: 2
    Last Post: 2 May 2012, 1:53 AM
  2. Dynamically update inputType from 'password' to 'text'
    By grilltout in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 13 Jun 2008, 4:49 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
  •