3.2.0

setting Tooltip for a particular column only shows tooltip of other columns 'undefined'

Hi

I am using the following code to create the tooltip
obj.onCellMouseOver = function(event, column, row){
if(column == 1) {
this.setCellTooltip(function(column,row){
if(column == 1))return this.getCellText(column, row);});
}

The Tooltip is required for second column.The second column shows tooltip but other columns which are not meant to show tooltip show "undefined"

Can any body help me out why this happens or it is a bug in AW 2.0.1

Thanks
Vikramaditya Garg
Vikramaditya Garg
July 28,
Once the tooltip is activated by moseover the second column it's also defined for rest columns, you just need to set an empty tooltip for any other column.
Try this way:

obj.onCellMouseOver = function(event, column, row){ 
if(column == 1) {
this.setCellTooltip(function(column,row){
return this.getCellText(column, row);} );
}
else{ this.setCellTooltip('') }
}
Carlos
July 28,
Great ! Carlos
It works now
Vikramaditya Garg
July 31,

This topic is archived.

See also:


Back to support forum