Tree structure destroyed if cell has links

In dhtmlxtreegrid, when we use link or editable link in the items of a column with column-type=“tree”, the tree structure is destroyed (i.e. all indentation is gone, it becomes a flat list)!

How can we use link or editable cell with link in column type of tree?

You can insert links as html into “tree” cell:

<cell type="tree"><![CDATA[<a href='some.com' >Link</a>]]></cell>