Hi Experts,
I have two questions about UI5 data binding.
1) I have some controls which are bound to a single model. At some moment I need to update some properties of the model, and then I need invoke model.refresh(true) to force the ui refresh. Hence, for performance consideration, I hope those Controls won't be updated after model.setProperty is called. Because anyway I will refresh the whole UI later. Is there any way to do so?
2) I have a table-like form. Each line of the form contains a lot of fields, and each line represents an element of an array in the model. So naturally I use bindAggregation to generate the form. But if I want to add new line by inserting an element in the model, it will cause every line to be rerendered. My form is quite complicated and the number of lines is over 30, so it causes an obvious page freezing. I'd like to know is there any way to update the model but only insert the new aggregation?
Thank you for the help!
Luke