Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jong Bor on Jul 09, 2007 17:23
open dhtmlx forum
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?
Answer posted on Jul 10, 2007 12:40
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");
Attachments (1)
Answer posted by Embre (Support) on Nov 30, 2014 09:29

Not much can be said in addition to the reply above, but you also can check ruby on rails grid and joomla google calendar plugin and find out what we have probably missed in our explanation.