Skip to Content
avatar image
Former Member

SAPUI5 rendering engine and change detection

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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:

    cleanupControlWithoutRendering

    flush

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

    Add comment
    10|10000 characters needed characters exceeded