cancel
Showing results for 
Search instead for 
Did you mean: 

Reset/Initialize variables in SAPui5

tharaka_fernando
Contributor
0 Kudos

Dear All,I

Is there a way to initialize/reset all declared SAPUI5 variable (ex: Textfield values / Table data) all at once when an event triggered ? ex : on Buttonclick?

Plz help

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182862
Active Contributor
0 Kudos

Hi Tharu,

You can bind the values of your controls to a model like this?

And restore the values of the model if you want to reset/initialize them.

Thanks

-D