<?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>topic Re: How to use 'scheduleRender' function in custom widgets with 4.2 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-schedulerender-function-in-custom/m-p/50483#M4426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, ok I see. Every time I call 'this.scheduleRender()' in my custom widget, the 'render' function executes. So I have to manage some attributes, variables and/or globals so that there will be a different result in the render function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that right? Does anybody have some further hints and tips?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2017 15:59:19 GMT</pubDate>
    <dc:creator>deleted-user-iPdcWUgWcsoy</dc:creator>
    <dc:date>2017-02-15T15:59:19Z</dc:date>
    <item>
      <title>How to use 'scheduleRender' function in custom widgets with 4.2</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-schedulerender-function-in-custom/m-p/50482#M4425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi at all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We write some custom widgets with the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;ArcGIS API 4.2 for JavaScript. Now we want to change the ui after an identify task gives us the result. Therefore I saw the 'scheduleRender' function. Unfortunately now well documented yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;So I look into the TypeScript widgets 'LayerList' and 'Print' to check how does it work. The render function returns an JSX Element but the functions called from 'scheduleRender' does not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;So my questions is, how do I have to use this function? Is it just the attributes changing that triggers a new rendering ending in 'render' function?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I appreciate any help. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Martin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 15:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-schedulerender-function-in-custom/m-p/50482#M4425</guid>
      <dc:creator>deleted-user-iPdcWUgWcsoy</dc:creator>
      <dc:date>2017-02-15T15:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use 'scheduleRender' function in custom widgets with 4.2</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-schedulerender-function-in-custom/m-p/50483#M4426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, ok I see. Every time I call 'this.scheduleRender()' in my custom widget, the 'render' function executes. So I have to manage some attributes, variables and/or globals so that there will be a different result in the render function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that right? Does anybody have some further hints and tips?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 15:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-use-schedulerender-function-in-custom/m-p/50483#M4426</guid>
      <dc:creator>deleted-user-iPdcWUgWcsoy</dc:creator>
      <dc:date>2017-02-15T15:59:19Z</dc:date>
    </item>
  </channel>
</rss>

