Changing tooltip through code

I know it is possible to change the tooltip of a cell using XML. Is it possible to change the tooltip text through code?

There is not such entity as fixed tooltip, the grid cells has method getTitle which can be redefined to use custom tooltips, data for such tooltips can be stored in any way.
Attached sample used data from XML to set tooltips, but in same sample it can be used with js code

    grid.setUserData(id,“tip_”+INDEX,“tooltip text”);

grid_tooltips.zip (2.35 KB)