Skip to Content
5 days ago

[SAPUI5] Add the edit button to sap.ui.table.TreeTable

55 Views Last edit 5 days ago 2 rev

Hello all. I would like to add the edit button to the TreeTable and edit each item from text to input.

I want this look, but url supports sap.m.table.

What I tried was 1) writing both text and input in xml and setting input visible="false", bindRows to table in js , and press edit button to change to "true", but there is an aggregation error.

Here's a part of my code.

Thanks in advance.

var oTable = this.getView().byId("TreeTable");


oTable.bindRows({ path: "/catalog/tag" });


<t:Column width="100%">
<Label text="Categories"/>


<Text text="{name}" wrapping="false"/>