1. #1
    Sencha User
    Join Date
    Mar 2010
    Location
    india
    Posts
    5
    Vote Rating
    0
    SrinivasKothuri is on a distinguished road

      0  

    Default Unanswered: Ajax tooltip for only one column of a grid

    Unanswered: Ajax tooltip for only one column of a grid


    Hi,

    Is it possible to have an Ajax tooltip for only a single column of the ExtJS grid?

    If yes, please provide some sample code.

    Thank you.

  2. #2
    Sencha - Community Support Team friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106
    Vote Rating
    27
    friend has a spectacular aura about friend has a spectacular aura about

      1  

    Default


    Add a renderer to the target grid column, where the tooltip data is taken from a field in the current record:

    Code:
    renderer: function(value, metaData, record, rowIndex, colIndex, store) {
      metaData.tdAttr = 'data-qtip="' + record.get('someFieldName') + '"';
      return value;
    }

  3. #3
    Sencha User
    Join Date
    Mar 2010
    Location
    india
    Posts
    5
    Vote Rating
    0
    SrinivasKothuri is on a distinguished road

      0  

    Default


    Hi friend,
    thank you for the reply.
    But my requirement here is to contact server by an ajax call to get the Tooltip content.

Thread Participants: 1

Tags for this Thread