Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rob on Mar 13, 2008 15:27
open dhtmlx forum
UserData with Load data from CSV file - in Tree

In relation to my earlier post: http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=2309&ssr=yes&s=userdata
This is in relation to the Tree not Grid
i.e. I know how to set tree user data with XML (from your documentation) but how do you do the same when loading from a CSV file? Specifically I want each node to hold the url to an HTML file so that when I click a node in the tree a window will open to that url.

Thanks
Answer posted by Support on Mar 14, 2008 07:11
In current version , while loading data from csv of js-array there is no possibility to load anything except item text and item id
Basically if you need to have working url as a tree item you can use HTML tags inside CSV

0,1,<a href="some_url" target="blank">text</a>
0.2,<a href="some_url" target="blank">text</a>
0,3,<a href="some_url" target="blank">text</a>