How to write custom tooltips in DHTMLXGrid

I am using DHTMLXGrid Pro version. I would like to have tooltip based on the column. For instance: 1st Column should have tooltip “Here is the first column” and 2nd column should have “Hi this is second col”. How could I achieve this?

I tried like
    grid.attachEvent(“onMouseOver”,grid_onMouseOver);
function grid_onMouseOver(id,ind) {
    grid.cells(id,ind).title=‘Test’;
    return true;
}

But this does not work. Hoping for the solution at the earliest possible.

Regards
Vanamali
mylaimali@gmail.com


You can try to use the following approach


grid.attachEvent(“onMouseOver”,grid_onMouseOver);


function grid_onMouseOver(id,ind) {
this.cells(id,ind).cell.title = 'The index of this column is '+ind;
return false;
}