Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by JIGNESH PATEL on Dec 07, 2007 06:57
open dhtmlx forum
Want to Change a Tooltip on Each cell i am having older version then current

HI
Want to Change a Tooltip on Each cell i am having older version then current
Can it be Configurable trough XML Would be better for me.
i want tool tip on each and every cell.

Please send a solution for Current Version of XDHTML GRID or for OLDER VERSION also.

But i am having a older version then this and even this  ZIP attachment is not working with me can you please check and send me onces again.
i am using  this Version of GRID " dhtmlxGrid v.1.4 Standard Edition, built 70813"

Answer posted by Support on Dec 10, 2007 02:15
The next must work for your build of grid

mygrid.attachEvent("onMouseOver",function(id,ind){
    //occurs when mouse moved over cell
    this.cells(id,ind).cell.title="any custom tooltip here";   //the text of tooltip may be taken from userdata or any other source
    return false; //block default tooltip
}

>>Can it be Configurable trough XML Would be better for me.
You can store values inside userdata and use them later. Solution mentioned at
    http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=1141&ssr=yes&s=tooltip
must work for your version of grid as well.

>>i am using  this Version of GRID " dhtmlxGrid v.1.4 Standard Edition, built 70813"
By the way - you can upgrade your version to build 71022, which support "title" attribute of cell tags.