1. #1
    Sencha User Radius-Service's Avatar
    Join Date
    Jul 2010
    Location
    Russia, Perm
    Posts
    47
    Vote Rating
    1
    Radius-Service is on a distinguished road

      0  

    Default Answered: qtip on a Grid cell

    Answered: qtip on a Grid cell


    How to display a hint?
    In "Extjs 3" worked the following way
    PHP Code:
    renderer: function (valuemetadatarecordrowIndexcolIndexstore) {
      
    metadata.attr 'ext:qtip="' value '"';
      return 
    value;

    But in the new version is not "metadata.attr" and "ext:qtip".

    I solved the problem this way:
    PHP Code:
    return "<div data-qtip='my <b>title</b>'>"+value+"</div>"
    Is this the right way? Or is there a good one?

  2. Ignoring the escaping issues it would be:

    Code:
    renderer: function(value, metaData) {
        metaData.tdAttr = 'data-qtip="' + value + '"';
        return value;
    }

  3. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Answers
    130
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    http://docs.sencha.com/ext-js/4-0/#!...uickTipManager

    Code:
    // Add a quick tip to an HTML button
    <input type="button" value="OK" data-qtitle="OK Button" data-qwidth="100"
         data-qtip="This is a quick tip from markup!"></input>
    so basically

    Code:
    metadata.attr = 'data-qtip="' + value + '"';
    should work.
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

  4. #3
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,581
    Answers
    540
    Vote Rating
    316
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Ignoring the escaping issues it would be:

    Code:
    renderer: function(value, metaData) {
        metaData.tdAttr = 'data-qtip="' + value + '"';
        return value;
    }

  5. #4
    Sencha User Radius-Service's Avatar
    Join Date
    Jul 2010
    Location
    Russia, Perm
    Posts
    47
    Vote Rating
    1
    Radius-Service is on a distinguished road

      0  

    Default


    Thanks, skirtle response is more accurate in the matter.

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi