PDA

View Full Version : Tooltip in grid header?



seymores
30 Nov 2007, 12:42 AM
Is this supported?
I couldn't any reference in the doc so I thought asking anyone here who knows how to put a tooltip to the grid header.

Cheers

alamandrax
30 Nov 2007, 12:54 AM
Try getting the Grid's GridView. The GridView can getHeaderCell(). You should be able to add a tooltip/quicktip to that element.

seymores
30 Nov 2007, 3:08 AM
h,,. ok will try do that. THanks a lot.
Cheers!

amackay11
30 Nov 2007, 6:37 AM
I use the ColumnModel.....


cm = new Ext.grid.ColumnModel([
{ header:'Name', width:70, dataIndex: 'name' },
{ header:'Address', width:50, dataIndex: 'addr' , tooltip : "This is my tooltop for address column",