SMART datagrid v.1 > Classes > GridBody
Callback function which returns HTML to be displayed in tooltip when the mouse is over data cell for Certain Time.
You can specify callback of each column by ValueColum.tooltipCallback, and if specify this column callback, this property will be ignored. In addition, if specify DataCellRenderer.showTooltip in renderer which is specified in each column or individual cell, tooltip for the corresponding renderer will be displayed automatically and this property will be ignored.
In order to display tooltip, nonempty HTML should be returned from this callback, and DisplayOptions.showTooltip should be specified as true first.
Defaults to null.
grid.setBody({
tooltipCallback: function (index) {
var val = index.getValue();
return '' + val + '';
}
});