Do you plan to update API and Construct as in other dhtmlx

Hi,

I am currently using a view of your widgets and I wanted to start with tree although;)

For grid, chart,… you have e.g. the attachEvent function which is very clean to code. Or for the data: dhtmlXGrid.load/parse(‘data.json’,'json);

For the tree it’s completly different :frowning:
It’s not possible to say:

dhtmlXTree.attachEvent(‘onClick’,‘doSomething’);
its dhtmlXTree.onClick(‘doSomething’);

well it’s quite simple (both versions) but just as the rest of components uses the attachEvent, it would be so cool to have it too! And of course the dhtmlXTree.load(‘data.json’,‘json’);

Thanks to inform me about your plans!

Regards Philipp

Hi
First of all recommend you to look at this sample:
dhtmlx.com/docs/products/dht … vents.html
Then there is an events description here:
docs.dhtmlx.com/doku.php?id=dhtm … s_handling
And here is ‘load’ methods description:
docs.dhtmlx.com/doku.php?id=dhtm … _toc_alpha
loadCSV
loadCSVString
loadJSArray
loadJSArrayFile
loadJSON
loadJSONObject
loadOpenStates
loadState
loadXML
loadXMLString

If some information isn’t clear or isn’t complete, please, inform us.