<?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: Search status with datagrid in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590222#M55142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like the DataGrid automatically shows that string (or whatever has been assigned to the loadingMessage property) but only under certain conditions during a call to the internal _fetch implementation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
_fetch: function(start, isRender){
&amp;nbsp; start = start || 0;
&amp;nbsp; if(this.store &amp;amp;&amp;amp; !this._pending_requests[start]){
&amp;nbsp;&amp;nbsp; if(!this._isLoaded &amp;amp;&amp;amp; !this._isLoading){
&amp;nbsp;&amp;nbsp;&amp;nbsp; this._isLoading = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.showMessage(this.loadingMessage);
&amp;nbsp;&amp;nbsp; }
&amp;lt;snip&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But since showMessage() is a public method so you could call it from your code at the appropriate points?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/fl_paging.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/fl_paging.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 01:21:11 GMT</pubDate>
    <dc:creator>__Rich_</dc:creator>
    <dc:date>2021-12-12T01:21:11Z</dc:date>
    <item>
      <title>Search status with datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590220#M55140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its taking approx 10 seconds to run through my parcel search using the datagrid. I'm ok with this since its a fairly large database. Is there a good way to add a status bar (spinning circle, percentage, searching...) to the datagrid to let the user know that the search is being performed and then disappears when the search is complete?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far the best I can find is dojox.widget.Standby. Would this be a good fit to integrate into the datagrid code? If so, I'm a little confused on where to put the hide after the search is complete.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 13:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590220#M55140</guid>
      <dc:creator>CraigMcDade</dc:creator>
      <dc:date>2012-10-29T13:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search status with datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590221#M55141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in my research it looks like there is a default loading message built into the dojox.grid.DataGrid&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; // loadingMessage: String
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; Message that shows while the grid is loading
&amp;nbsp;&amp;nbsp;&amp;nbsp; loadingMessage: "&amp;lt;span class='dojoxGridLoading'&amp;gt;${loadingState}&amp;lt;/span&amp;gt;"
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to access it in the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/find_map_datagrid.html" rel="nofollow noopener noreferrer" target="_blank"&gt;sample&lt;/A&gt;&lt;SPAN&gt; without much success. Any ideas? Wouldn't it make sense for this to be visible by default?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:21:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590221#M55141</guid>
      <dc:creator>CraigMcDade</dc:creator>
      <dc:date>2021-12-12T01:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Search status with datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590222#M55142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like the DataGrid automatically shows that string (or whatever has been assigned to the loadingMessage property) but only under certain conditions during a call to the internal _fetch implementation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
_fetch: function(start, isRender){
&amp;nbsp; start = start || 0;
&amp;nbsp; if(this.store &amp;amp;&amp;amp; !this._pending_requests[start]){
&amp;nbsp;&amp;nbsp; if(!this._isLoaded &amp;amp;&amp;amp; !this._isLoading){
&amp;nbsp;&amp;nbsp;&amp;nbsp; this._isLoading = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.showMessage(this.loadingMessage);
&amp;nbsp;&amp;nbsp; }
&amp;lt;snip&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But since showMessage() is a public method so you could call it from your code at the appropriate points?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/fl_paging.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/fl_paging.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:21:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590222#M55142</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2021-12-12T01:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Search status with datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590223#M55143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks. I had actually just ran across that and have successfully inserted the loading message in the sample referenced in my first post using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;grid.hideMessage("Loading...");&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;grid.showMessage("Loading...");&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now trying to edit that sample code so that it references and displays my data in the grid. Surprisingly more difficult than I would have thought.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 13:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590223#M55143</guid>
      <dc:creator>CraigMcDade</dc:creator>
      <dc:date>2012-10-31T13:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search status with datagrid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590224#M55144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you thought about using &lt;/SPAN&gt;&lt;A href="http://www.google.co.uk/url?sa=t&amp;amp;rct=j&amp;amp;q=dgrid&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;ved=0CB8QFjAA&amp;amp;url=http%3A%2F%2Fdojofoundation.org%2Fpackages%2Fdgrid%2F&amp;amp;ei=2jORUJ7CDabB0gXYiYDIAw&amp;amp;usg=AFQjCNGIYkETFXO8LLs0b8LxRzw4mIz3sQ"&gt;dGrid&lt;/A&gt;&lt;SPAN&gt; instead?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 13:21:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-status-with-datagrid/m-p/590224#M55144</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-10-31T13:21:37Z</dc:date>
    </item>
  </channel>
</rss>

