Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jan 30, 2009 08:18
open dhtmlx forum
Tooltip in gridheader

I am on dhtmlxGrid v.2.0 Professional edition build 81009.

If I have special char ', tooltip wont show up complete text for example, I have the following string:

header_string = "<div title=\'column1 title\'> column1 heading<\/div>,<div title=\'column2\'s title\'> column2\'s heading<\/div>"
---
mygrid_#{group.id}.setHeader("#{header_string}");

In this example tooltip will show "column2" only.

Thanks
Answer posted by Support on Feb 02, 2009 03:13
The code which you are using - provides invalid HTML , which result in incorrect tooltip, you may change it to the next one 
header_string = "<div title=\"column1 title\"> column1 heading<\/div>,<div title=\"column2\'s title\"> column2\'s heading<\/div>"