cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 Table getting recreated on event

HariCS23
Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

HariCS23
Contributor
0 Kudos

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

Thanks

Hari

Answers (0)