Skip to Content

SAPUI5 rendering engine and change detection

May 22, 2017 at 08:45 AM


avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV May 23, 2017 at 04:08 PM

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:



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

10 |10000 characters needed characters left characters exceeded