Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Bruno on Nov 18, 2009 12:13
open dhtmlx forum
How to present tree node as a link on treegrid

Hello,

We use DHTMLX PRO (reg. number 289102905).
I created a dhtmlxTreeGrid and I'd like to present my tree node (colType = tree) as a link so I could put A HREF on it.
I tried to use <cell><![CDATA[<a href=\"url\">URL</a>]]></cell> on XML, but failed.
How should I format my XML?

Thanks,
Answer posted by dhxSupport on Nov 19, 2009 02:43
Answer posted by Bruno on Nov 19, 2009 04:32
Thanks for your reply, but your example does not fit in my issue.
I need an example containing a 2-type column (TREE AND LINK), is it possible? In your example, it's only a link.
My code:
dhtmlx_treegrid.setColTypes("tree,txt,txt,txt,txt,link,link,link");

The first column should be a TREE and a LINK too.
I tried to put '^' in first column cells, but tree is broken.

Thanks in advance,