<?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: override close (onBlur?) event on dijit.form.DropDownButton holding measurement w in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305326#M28020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends on your purpose. Normally, I would just put a div there to hold the measurement widget, and the toggle button can show/hide the div.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2011 20:13:43 GMT</pubDate>
    <dc:creator>JianHuang</dc:creator>
    <dc:date>2011-12-06T20:13:43Z</dc:date>
    <item>
      <title>override close (onBlur?) event on dijit.form.DropDownButton holding measurement wdgt</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305322#M28016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a layout with a &lt;/SPAN&gt;&lt;STRONG&gt;dijit.Toolbar&lt;/STRONG&gt;&lt;SPAN&gt; at the top.&amp;nbsp; It contains a few buttons including a &lt;/SPAN&gt;&lt;STRONG&gt;dijit.form.DropDownButton&lt;/STRONG&gt;&lt;SPAN&gt; within which I have a &lt;/SPAN&gt;&lt;STRONG&gt;dijit.layout.ContentPane&lt;/STRONG&gt;&lt;SPAN&gt; within which I have the &lt;/SPAN&gt;&lt;STRONG&gt;&amp;lt;div id="measurementDiv"&amp;gt;&amp;lt;/div&amp;gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The look and behavior are exactly what I want except for how the &lt;/SPAN&gt;&lt;STRONG&gt;dijit.form.DropDownButton&lt;/STRONG&gt;&lt;SPAN&gt; closes when using any of the measurement widget tools by clicking on the map.&amp;nbsp; I'd like to have the &lt;/SPAN&gt;&lt;STRONG&gt;dijit.form.DropDownButton&lt;/STRONG&gt;&lt;SPAN&gt; stay open to display the results until the button is clicked again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I override the event that is closing the &lt;/SPAN&gt;&lt;STRONG&gt;dijit.form.DropDownButton&lt;/STRONG&gt;&lt;SPAN&gt; when the map is being clicked?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 18:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305322#M28016</guid>
      <dc:creator>martinschmoll</dc:creator>
      <dc:date>2011-10-25T18:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: override close (onBlur?) event on dijit.form.DropDownButton holding measurement w</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305323#M28017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Martin, did you solve this or go with another dijit?&amp;nbsp; I'd like to do the same thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 00:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305323#M28017</guid>
      <dc:creator>EdSaunders</dc:creator>
      <dc:date>2011-11-30T00:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: override close (onBlur?) event on dijit.form.DropDownButton holding measurement w</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305324#M28018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Martin, Ed,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm assuming you want the similar look and feel as arcgis.com uses the measurement tools. I suggest to use toggle button to show and hide the div which holds the measurement widget instead of a dropdown button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 16:56:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305324#M28018</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2011-11-30T16:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: override close (onBlur?) event on dijit.form.DropDownButton holding measurement w</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305325#M28019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Martin, Ed,&lt;BR /&gt;&lt;BR /&gt;I'm assuming you want the similar look and feel as arcgis.com uses the measurement tools. I suggest to use toggle button to show and hide the div which holds the measurement widget instead of a dropdown button.&lt;BR /&gt;Hope this helps.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes exactly, I saw how arcgis.com does it.&amp;nbsp; This is a side project for me so I haven't finished yet.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which type of dijit would you show/hide using the toggle button?&amp;nbsp; The nice thing with the dropdown button is that you can place a contentpane inside of it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was also considering lifting the Basic Viewer sample that uses the &lt;/SPAN&gt;&lt;STRONG&gt;dojox.layout.FloatingPane&lt;/STRONG&gt;&lt;SPAN&gt; widget.&amp;nbsp;&amp;nbsp; Having the measurement tool in the floater feels too much like ArcMap though &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 19:02:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305325#M28019</guid>
      <dc:creator>martinschmoll</dc:creator>
      <dc:date>2011-12-06T19:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: override close (onBlur?) event on dijit.form.DropDownButton holding measurement w</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305326#M28020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends on your purpose. Normally, I would just put a div there to hold the measurement widget, and the toggle button can show/hide the div.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 20:13:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/override-close-onblur-event-on-dijit-form/m-p/305326#M28020</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2011-12-06T20:13:43Z</dc:date>
    </item>
  </channel>
</rss>

