<?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: Event after setDefinitionExpression has been applied in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/event-after-setdefinitionexpression-has-been/m-p/155497#M934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Stasy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you apply this before the layer is drawn the first time or has the layer been in your map&amp;nbsp; for a while?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is after, you can use the update-end event, which will fire after your layer has been redrawn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 14:43:58 GMT</pubDate>
    <dc:creator>TimWitt2</dc:creator>
    <dc:date>2015-05-21T14:43:58Z</dc:date>
    <item>
      <title>Event after setDefinitionExpression has been applied</title>
      <link>https://community.esri.com/t5/developers-questions/event-after-setdefinitionexpression-has-been/m-p/155496#M933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm applying filters to a few layers at runtime like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layer.setDefinitionExpression();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to catch the moment, when the changes has been applied (because, as it seems, they are applied with some delay).&lt;/P&gt;&lt;P&gt;Can anyone advise me on how can I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 14:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/event-after-setdefinitionexpression-has-been/m-p/155496#M933</guid>
      <dc:creator>StasyGrayn</dc:creator>
      <dc:date>2015-05-21T14:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Event after setDefinitionExpression has been applied</title>
      <link>https://community.esri.com/t5/developers-questions/event-after-setdefinitionexpression-has-been/m-p/155497#M934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Stasy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you apply this before the layer is drawn the first time or has the layer been in your map&amp;nbsp; for a while?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is after, you can use the update-end event, which will fire after your layer has been redrawn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 14:43:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/event-after-setdefinitionexpression-has-been/m-p/155497#M934</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-05-21T14:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Event after setDefinitionExpression has been applied</title>
      <link>https://community.esri.com/t5/developers-questions/event-after-setdefinitionexpression-has-been/m-p/155498#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Tim!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer! I was trying that event and it hasn't worked untill I was re-checking it to post here as answer. Maybe some tricky typo or anything like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thank for the fast answer &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 14:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/event-after-setdefinitionexpression-has-been/m-p/155498#M935</guid>
      <dc:creator>StasyGrayn</dc:creator>
      <dc:date>2015-05-21T14:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Event after setDefinitionExpression has been applied</title>
      <link>https://community.esri.com/t5/developers-questions/event-after-setdefinitionexpression-has-been/m-p/155499#M936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem! Glad I could sorta help &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 14:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/event-after-setdefinitionexpression-has-been/m-p/155499#M936</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-05-21T14:55:15Z</dc:date>
    </item>
  </channel>
</rss>

