-
20 Dec 2012 5:02 AM #1
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.
-
20 Dec 2012 10:46 AM #2
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; }
-
20 Dec 2012 9:33 PM #3
Hi friend,
thank you for the reply.
But my requirement here is to contact server by an ajax call to get the Tooltip content.


Reply With Quote