View Full Version : Ext.Tooltip on grid column

16 Mar 2011, 6:31 PM
I'm trying to use the following on a grid's column but it doesnt work as the tooltip shows [object object]

colModel: new Ext.grid.ColumnModel({
columns: [
header: 'Operating Conditions',
dataIndex: 'Condition',
tooltip: new Ext.ToolTip({
anchor: 'top',
anchorOffset: 85,
html: 'Pump Operating Conditions'

16 Mar 2011, 9:07 PM
From the docs:
tooltip : String
Optional. A text string to use as the column header's tooltip
Ext.ToolTip({...}) returns an object, not a string.
tooltip: 'Pump Operating Conditions'

5 May 2011, 5:20 AM
How would you add an anchor to the ToolTip in the ColumnModel?