Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Agile on Oct 31, 2008 21:39
open dhtmlx forum
Extar attributes in XML

Hi Team,

I wan to give extra attributes in XML file.And want to access these extra attributes based on attribute.
How to to it?

e.g
<item id="p1" text="parent item 1">

and I want to add extra attribute column like <item id="p1" text="parent item 1" column="3"> and want to access this attribute on certain events.

-Agile
Answer posted by Support on Nov 03, 2008 01:25
There is a special extension in tree which allows to get custom attributes - we have attached it.

tree.getAttribute(id,"column");
Attachments (1)