Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Wolfgang Philipp on Aug 07, 2008 06:19
open dhtmlx forum
alternative text for link excell type

Hello there!

I have a question: Is there any possibility to define an alternative text for cells which are defined as links?

I call a javascript function via this link and it looks like this for example:

<![CDATA[15-1-08000^javascript:editDocument(21,"15-1-08000","ALL")^_self^]]></cell>

Problem now is that it shows javascript:editDocument(21,"15-1-08000","ALL") when i move mouse over the link. So I would like to change the alternative text. I know i could do it with a usual HTML <a> tag, but because I am using Version 1.4 and it seems files are corrupted (custom sorting is not working) I would get problems when cell should be sorted.

Thx in advance!
Answer posted by Support on Aug 07, 2008 06:58

You can use "title" attribute of cell tag. ( works for dhtmlxgrid 1.6 and 1.5 in case of 1.4 may work for latest builds )

<cell title="will be used as tooltip"><![CDATA[15-1-08000^javascript:editDocument(21,"15-1-08000","ALL")^_self^]]></cell>

>>and it seems files are corrupted (custom sorting is not working) 
If such problem occurs for you - please send any kind of sample where issue can be reconstructed ( with used js files ) to support@dhtmlx.com