Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAPUI5 Table getting recreated on event

I have a sapui5 treetable getting updated one buttion click event. On button click i am getting data using ajax and want repopulate the existing tree table rendered on first call. I have simulated the issue in below bin . How to avoid recreating the table on button click ?

i tried to check the otable was null before recreating the object but it did not help . Please advise .

http://jsbin.com/openui5-table-json/889/edit

Thanks

Hari

Tags:
Former Member
Former Member replied

Figured out on my own. Initialized table object ouside of the function.

Thanks

Hari

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question