:: Forum >>

dynamic tooltips

Is it possible to attach tooltips to a cell within a grid after the grid has been written by the document. My streaming grid has moved on quite nicely thanks to this forum. When certain data arrives it has tool tip text associated with it. At this point I would like to define the tooltip.
I took a look at the image example, blagged the relevant code but cannot make the tooltip appear. I do not get any errors.

Regards,

G

gurok
Friday, April 30, 2004
It's this what you are looking for?
for (var col=1; col < (myColumns.length); col++) {
obj.getTemplate("column",col).setAttribute("title", function(){return this.getProperty("item/tooltip")});
obj.defineProperty("data/tooltip", function(i, col){return myData[i][col];});
}
obj.setProperty("column/tooltip", function(i){return myColsTips[i]});
Darius
Monday, May 3, 2004
When dynamically user selects the options in drop down , Is it possible to display to tooltip corresponding element
Ambica
Wednesday, January 19, 2005
Thanks Darius,
The code you provided is execellent.

we have to Define the Array myColsTips to show tootips for columns too.

thanks for your code.

Regards,
Kumar.S
Kumar S
Friday, March 4, 2005
Hi,

Iam also foxed by the problem of providing tooltip dynamically for a drop down. There seems to be a problem because there are no event handler defined for the expanded list as we move over the selection.

Regards,
Dilip
Friday, April 22, 2005

This topic is archived.


Back to support forum

Forum search