Results 1 to 4 of 4

Thread: Can I show tool tips for every item of Ext ComboBox?

  1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    146
    Vote Rating
    0
      0  

    Default Can I show tool tips for every item of Ext ComboBox?

    Dropdown Values not visible when Ext.form.ComboBox size is small also no way to show tooltips for every item of ext ComboBox.

    In html we can show tooltips for html select as well as for every option element of select using title attribute of both select and option ie
    Code:
       <select id="myCombo"  title="Redirects to different resources">
            <option id="istentery" title="Go to home page"/>
        </select>
    Can I show tool tips for every item of Ext ComboBox?

    Thanks

  2. #2
    Ext User ritesh.kapse's Avatar
    Join Date
    May 2008
    Location
    Pune, India
    Posts
    120
    Vote Rating
    0
      0  

    Default

    use tpl

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    Example:
    Code:
    tpl: '<tpl for="."><div class="x-combo-list-item" ext:qtip="{tip}">{text}</div></tpl>'
    (assuming your combobox store contains text and tip fields)

  4. #4
    Ext User
    Join Date
    Mar 2007
    Posts
    146
    Vote Rating
    0
      0  

    Default

    thanks

    You rock!

Posting Permissions

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