cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 rendering engine and change detection

Former Member
0 Kudos

I am curious about how UI5 rendering engine works - how it synchronizes view and model. For example if there is a list of 100 items and 1 object is changed in the model of this list, how does SAPUI5 know it should update only the one list item and not the whole list?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member365727
Active Contributor
0 Kudos

I'm not an expert on this. As far as I know property change event will be triggered which indicates that a value in the model property is changed, this triggers rendering on all the elements currently bound to this UI.

UI control might trigger below methods:

cleanupControlWithoutRendering

flush

Documentation of the method 'cleanupControlWithoutRendering' indicates that only currently visible elements are rendered instead of all 100 items.