enableMultiLineItems in dhtmlXTreeObject - Object doesn't su

I have a tree object on the page and need to enable multiline as per the documentation, however I keep getting a javascript error, object doesn’t support property or method…



simple code as follows…















New Poulate Screen

        















    

        



    







            





    







    


enableMultiLineItems is provided only with pro edition:


dhtmlx.com/dhxdocs/doku.php? … ilineitems


What tree edition do you use ?

Has the parameter changed for enableMultiLineItems? The documentation says:

Yet the code above has “true” as the parameter. If the parameter is now “width” is the function expecting a bare number, and if so, what are it’s units, pixels?

Turns out that the documentation at: http://docs.dhtmlx.com/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems
seems to differ with that at: http://docs.dhtmlx.com/doku.php?id=dhtmlxtree:setting_tree_appearance#text_manipulation

If you use true as the parameter, the width is 100%. If you defined fixed width in px, this value will be set as text width:

tree.enableMultiLineItems(“200px”);
or
tree.enableMultiLineItems(true);

Please have a look at the sample:

dhtmlx.com/docs/products/dht … _line.html