SAP Knowledge Base Article - Preview

2498952 - How to restore the selection in a TreeTable


You have a TreeTable control in the app which shows an organizational hierarchy in a dialog. Yo want to achieve the following:

  • The selected organizations should be restored by default when the dialog is closed and opened again. 
  • When a parent node is expanded and one of the children is selected, the child should remain selected even when the parent node is collapsed and opened again.



  • SAP Netweaver.
  • SAP UI add-on for Netweaver.


SAP NetWeaver 7.4 ; SAP NetWeaver 7.5


SAPUI5, sap.ui.table, sap.ui.table.TreeTable, sap.m.table, table, tree , KBA , CA-UI5-TBL , SAP UI5 table, smart table, list and tree controls , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.