<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SAPUI5 Control invalidate function not working? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sapui5-control-invalidate-function-not-working/qaa-p/11955158#M4493916</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;
It is a bit late, but I think this is solved with a refresh of the Json Model.&lt;/P&gt;&lt;P&gt;
More or less.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;this.getView().getModel("name_json_model").refresh();&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 03 Jun 2020 12:50:35 GMT</pubDate>
    <dc:creator>Ricardo___</dc:creator>
    <dc:date>2020-06-03T12:50:35Z</dc:date>
    <item>
      <title>SAPUI5 Control invalidate function not working?</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-control-invalidate-function-not-working/qaq-p/11955156</link>
      <description>&lt;P&gt;In my application I have a sap.m.List control where I defined a Composite binding for the list item property. The composite binding references 2 different models, one is OData and the other is JSONModel. Also this Composite binding has a formatter function. It works fine when data are read for the first time&lt;/P&gt;
  &lt;P&gt;At some point I change data in the JSON model and I was expecting that the control should be updated (rerendered) automatically. And it odes not work that way.&lt;/P&gt;
  &lt;P&gt;I also tried calling List.&lt;STRONG&gt;invalidate&lt;/STRONG&gt;() and then I tried to &lt;STRONG&gt;refresh&lt;/STRONG&gt; items aggregation binding - no effect whatsoever. Formatter function is not called, the control is not rendered after JSON model change. &lt;/P&gt;
  &lt;P&gt;How can I force a control to rerender itself other than call invalidate? I do remember it worked..&lt;/P&gt;
  &lt;P&gt;I use SAPUI5 1.64.3&lt;/P&gt;
  &lt;P&gt;What am I missing?&lt;/P&gt;
  &lt;P&gt;Disclaimer: Yes, I know &lt;STRONG&gt;invalidate&lt;/STRONG&gt; is a protected function. Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 16:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-control-invalidate-function-not-working/qaq-p/11955156</guid>
      <dc:creator>sergey_korolev</dc:creator>
      <dc:date>2019-06-24T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 Control invalidate function not working?</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-control-invalidate-function-not-working/qaa-p/11955157#M4493915</link>
      <description>&lt;P&gt;code.......please.....&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 00:02:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-control-invalidate-function-not-working/qaa-p/11955157#M4493915</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2019-06-25T00:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 Control invalidate function not working?</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-control-invalidate-function-not-working/qaa-p/11955158#M4493916</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;
It is a bit late, but I think this is solved with a refresh of the Json Model.&lt;/P&gt;&lt;P&gt;
More or less.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;this.getView().getModel("name_json_model").refresh();&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Jun 2020 12:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-control-invalidate-function-not-working/qaa-p/11955158#M4493916</guid>
      <dc:creator>Ricardo___</dc:creator>
      <dc:date>2020-06-03T12:50:35Z</dc:date>
    </item>
  </channel>
</rss>

