Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ravi on Oct 25, 2007 05:27
open dhtmlx forum
how to handle '& <' character in grid, tooltip display as &.

Hi,

i am facing a problem in grid, if my data has '&' in it,then tooltip displays as & for example if data is ' dhx & co ' then tooltip displays as 'dhx & co' .Please let me the solution if any.

Thanks
Ravi
Answer posted on Oct 25, 2007 08:59
The problem already fixed in latest dev. code - you can contact us at support@dhtmlx.com ( please provide your ref number ) and we will send you fixed code.

The fix is pretty small and can be implemented manually - in dhtmlxgridcell.js locate next string (line 23 in full code)

    this.cell = obj;
and add next to it;
    this.getTitle=function(){ return (_isIE?this.cell.innerText:this.cell.textContent); }

This fill solve problem for tooltips