1. #1
    Sencha User
    Join Date
    Dec 2013
    Posts
    52
    Vote Rating
    2
    Answers
    1
    JohnJones357 is on a distinguished road

      0  

    Default Unanswered: how to show grid column tooltip (tdAttr) array values vertically or numbered?

    Unanswered: how to show grid column tooltip (tdAttr) array values vertically or numbered?


    I have a tooltip for grid columns that shows values like so: 1,2,3,4,5,6,7,8...

    since these values can also be dates, for better legibility, how can I instead show them as:
    1
    2
    3
    4
    5
    ...
    ...
    ...

    renderer: function(value, meta, record) {
    --------
    --------
    meta.tdAttr = 'data-qtip="<b> Values: ' + vals + '</b>"';
    return value;
    }

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,616
    Vote Rating
    327
    Answers
    545
    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


    Can't you just join them with <br> tags?

  3. #3
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,538
    Vote Rating
    380
    Answers
    485
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    You can also wrap them in <p></p> tags.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


Thread Participants: 2