Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Subathra on Jun 15, 2009 03:04
open dhtmlx forum
Link button in DhtmlxTreeGrid

Hi,

I wanna give a link button in TreeGrid.

I have used this link button in Grid but i tried it in TreeGrid. It is not working. Kindly help me.

Thanks & Regards,
P.Subathra
Answer posted by dhxSupport on Jun 15, 2009 04:44
Please check if you have attached dhtmlxgrid_excell_link.js file from the dhtmlxGrid package. If issue still occurs please send us any kind of sample where we can reproduce this issue.
Answer posted by author on Jun 16, 2009 05:21
Yeah i have included but in column type i should specify it is a "tree" then only the tree view come in treegrid otherwise I have specified it is "link" then the view is normal grid and link button is working fine.

I want to specify both.

mygrid.setColTypes("tree");

mygrid.setColTypes("link");

Kindly help me

Thanks & Regards,
   P.Subathra
Answer posted by dhxSupport on Jun 16, 2009 05:46
Unfortunately it's impossible to use both "link" and "tree" types in one cell. But you can use any html as any cell's value:
mygrid.setColTypes("tree");
...
<cell><![CDATA[<a href="http://some.com">Link</a>]]></cell>