<?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: Select with feature layer using buffer and send selected features to a datagrid in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335550#M31024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saloni,&lt;/P&gt;&lt;P&gt;Rgd. the print functionality, it tested my fiddle in IE and chrome and works just fine, it's bringing up the print dialog as many times i try.&lt;/P&gt;&lt;P&gt;Export to CSV, you'll need a server side component which will stream the csv format returned by exportGrid function (where I'm issuing the alert) back to the client with download dialog. Check out this thread &lt;A href="http://stackoverflow.com/questions/4440803/exporting-a-dojo-datagrid-to-a-csv-file" title="http://stackoverflow.com/questions/4440803/exporting-a-dojo-datagrid-to-a-csv-file"&gt;javascript - Exporting a dojo datagrid to a csv file - Stack Overflow&lt;/A&gt; . You can use IHttpHandler for .Net, there is a workable sample for PHP in the above thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't ask me how it can be done using java, answer will be i dono.&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Sep 2014 10:35:08 GMT</pubDate>
    <dc:creator>RiyasDeen</dc:creator>
    <dc:date>2014-09-07T10:35:08Z</dc:date>
    <item>
      <title>Select with feature layer using buffer and send selected features to a datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335544#M31018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need some help on this, I am trying to use a circle to buffer a feature and select all features that fall within that buffered distance, that part is working fine, but when I try to send the selected features to a datagrid, nothing works.&lt;/P&gt;&lt;P&gt;Here is what I have so far, please see attached .txt file for code.&lt;/P&gt;&lt;P&gt;If I can get some help to figure out what I am missing or fix errors that I am not able to detect, it will be great.&lt;/P&gt;&lt;P&gt;Any help will be appreciated, Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 20:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335544#M31018</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2014-08-20T20:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select with feature layer using buffer and send selected features to a datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335545#M31019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saloni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modified your code to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://jsfiddle.net/riyasdeen/gawnvrrm/" title="http://jsfiddle.net/riyasdeen/gawnvrrm/"&gt;Edit fiddle - JSFiddle&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 00:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335545#M31019</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-08-21T00:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select with feature layer using buffer and send selected features to a datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335546#M31020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, Riyas. It is working now, great!!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Noticed what I was missing and saw the changes you made.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:21:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335546#M31020</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2014-08-21T13:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select with feature layer using buffer and send selected features to a datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335547#M31021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Riyas,&lt;/P&gt;&lt;P&gt;You had helped me a couple of weeks back with my JavaScript application, I am now trying to add some more functionality to this application, I want to add print and export to csv functions to the datagrid.&lt;/P&gt;&lt;P&gt;I was going through the documentation for Dgrid for options&lt;/P&gt;&lt;P&gt;&lt;A href="http://dojofoundation.org/packages/dgrid/" title="http://dojofoundation.org/packages/dgrid/"&gt;dgrid - A Dojo grid created by SitePen&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and noticed that it does not have print and export features, but from what I have been reading through forums and other places, I see suggestions for&lt;/P&gt;&lt;P&gt;using plugins for printer and exporter which only work with EnhancedGrid&lt;/P&gt;&lt;P&gt;&lt;A href="http://dojotoolkit.org/reference-guide/1.8/dojox/grid/EnhancedGrid/plugins/Printer.html#dojox-grid-enhancedgrid-plugins-printer" title="http://dojotoolkit.org/reference-guide/1.8/dojox/grid/EnhancedGrid/plugins/Printer.html#dojox-grid-enhancedgrid-plugins-printer"&gt;dojox.grid.EnhancedGrid.plugins.Printer — The Dojo Toolkit - Reference Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://dojotoolkit.org/reference-guide/1.8/dojox/grid/EnhancedGrid/plugins/Exporter.html" title="http://dojotoolkit.org/reference-guide/1.8/dojox/grid/EnhancedGrid/plugins/Exporter.html"&gt;dojox.grid.EnhancedGrid.plugins.Exporter — The Dojo Toolkit - Reference Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://datatables.net/extensions/tabletools/" title="http://datatables.net/extensions/tabletools/"&gt;http://datatables.net/extensions/tabletools/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I did not find any samples in ArcGIS JavaScript Api reference that use Enhanced grid, do you have any suggestions how I can go about adding Print and Export to csv or excel, in this example that I have attached here.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 18:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335547#M31021</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2014-09-04T18:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select with feature layer using buffer and send selected features to a datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335548#M31022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saloni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have updated the fiddle to use Enhanced grid, this should get you started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://jsfiddle.net/gawnvrrm/" title="http://jsfiddle.net/gawnvrrm/"&gt;Edit fiddle - JSFiddle&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 11:49:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335548#M31022</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-09-05T11:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Select with feature layer using buffer and send selected features to a datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335549#M31023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Riyas,&lt;/P&gt;&lt;P&gt;Thank you very much for updating the code to use Enhanced grid, the print function works well, but for some reasons it works only once and does not update and if we click on another point, the map disappears and does not load again, I am trying this in JSFiddle, if you can take a look that it will be great.&lt;/P&gt;&lt;P&gt;Also, export all to csv, just gives an alert message, I want to be able to save or download that, is there any way to do that. I came across some examples that use Iframe something like this,&lt;/P&gt;&lt;P&gt;&lt;A href="http://livedocs.dojotoolkit.org/dojo/request/iframe" title="http://livedocs.dojotoolkit.org/dojo/request/iframe"&gt;dojo/request/iframe view /dojo/request/iframe&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="nx"&gt;require&lt;/SPAN&gt;&lt;SPAN class="p"&gt;([&lt;/SPAN&gt;&lt;SPAN class="s2" style="color: #ba2121;"&gt;"dojo/request/iframe"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;],&lt;/SPAN&gt; &lt;SPAN class="kd" style="color: #008000; font-weight: bold;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="nx"&gt;iframe&lt;/SPAN&gt;&lt;SPAN class="p"&gt;){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="nx"&gt;iframe&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s2" style="color: #ba2121;"&gt;"csv"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="p"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="nx"&gt;handleAs&lt;/SPAN&gt;&lt;SPAN class="o" style="color: #666666;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="s2" style="color: #ba2121;"&gt;"csv"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Found one that has something similar,&lt;/P&gt;&lt;P&gt; &lt;A href="http://jsfiddle.net/g42qpc75/4/"&gt;http://jsfiddle.net/g42qpc75/4/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but since I am new to JScript, I do not know if that will solve the issue or help in my example.&lt;/P&gt;&lt;P&gt;Thanks again for your time and help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 19:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335549#M31023</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2014-09-05T19:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select with feature layer using buffer and send selected features to a datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335550#M31024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saloni,&lt;/P&gt;&lt;P&gt;Rgd. the print functionality, it tested my fiddle in IE and chrome and works just fine, it's bringing up the print dialog as many times i try.&lt;/P&gt;&lt;P&gt;Export to CSV, you'll need a server side component which will stream the csv format returned by exportGrid function (where I'm issuing the alert) back to the client with download dialog. Check out this thread &lt;A href="http://stackoverflow.com/questions/4440803/exporting-a-dojo-datagrid-to-a-csv-file" title="http://stackoverflow.com/questions/4440803/exporting-a-dojo-datagrid-to-a-csv-file"&gt;javascript - Exporting a dojo datagrid to a csv file - Stack Overflow&lt;/A&gt; . You can use IHttpHandler for .Net, there is a workable sample for PHP in the above thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't ask me how it can be done using java, answer will be i dono.&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2014 10:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335550#M31024</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-09-07T10:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select with feature layer using buffer and send selected features to a datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335551#M31025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Riyas,&lt;/P&gt;&lt;P&gt;It does work now, I am not sure what I was doing wrong earlier. Thanks for explaining the server side component for export/download to CSV, I kind of had an idea, I now understand it better. The link to the thread that you have sited in your answer is the same one I got the iframe/export handler example.&lt;/P&gt;&lt;P&gt;Thanks for all the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 16:42:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/select-with-feature-layer-using-buffer-and-send/m-p/335551#M31025</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2014-09-08T16:42:12Z</dc:date>
    </item>
  </channel>
</rss>

