Categories | Question details Back To List | ||
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 You can use "link" eXcell type. Please find example here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/01_cell_types/04_link_grid.html and tutorial here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:formatting_excells#link 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, |