<?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 Sorting in the Attribute Table WAB widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/sorting-in-the-attribute-table-wab-widget/m-p/267354#M7091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using the Attribute Table widget (version 2.5), I can click on a field and sort ascending/descending on that field, but when I click the Refresh button to refresh the table my sort is cleared and the table is reset back to it's normal state.&amp;nbsp; Does anyone know of a way to prevent the sort from being cleared when the table is refreshed?&amp;nbsp; I'm not sure if this is just the way ESRI intended on it to work or if there are any options. I am currently using the Attribute Table widget for Web AppBuilder version 2.5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2017 20:07:58 GMT</pubDate>
    <dc:creator>Clint_Glover</dc:creator>
    <dc:date>2017-11-01T20:07:58Z</dc:date>
    <item>
      <title>Sorting in the Attribute Table WAB widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/sorting-in-the-attribute-table-wab-widget/m-p/267354#M7091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using the Attribute Table widget (version 2.5), I can click on a field and sort ascending/descending on that field, but when I click the Refresh button to refresh the table my sort is cleared and the table is reset back to it's normal state.&amp;nbsp; Does anyone know of a way to prevent the sort from being cleared when the table is refreshed?&amp;nbsp; I'm not sure if this is just the way ESRI intended on it to work or if there are any options. I am currently using the Attribute Table widget for Web AppBuilder version 2.5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 20:07:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/sorting-in-the-attribute-table-wab-widget/m-p/267354#M7091</guid>
      <dc:creator>Clint_Glover</dc:creator>
      <dc:date>2017-11-01T20:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in the Attribute Table WAB widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/sorting-in-the-attribute-table-wab-widget/m-p/267355#M7092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clint,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I believe it is intended behavior at this time, but there is an easy fix if you are using WAB Dev.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; In the AttributeTable\table\_FeatureTable.js find the&amp;nbsp;createTable function and comment out.&lt;/P&gt;&lt;P&gt;(in WAB 2.5 it is lines 1814 - 1816):&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;// if (this.layer.objectIdField) {&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;//&amp;nbsp;&amp;nbsp; this.grid.set('sort', this.layer.objectIdField, false);&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;// }&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:06:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/sorting-in-the-attribute-table-wab-widget/m-p/267355#M7092</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T13:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in the Attribute Table WAB widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/sorting-in-the-attribute-table-wab-widget/m-p/267356#M7093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I am indeed using the WAB Developer Edition.&amp;nbsp; I commented out the code and it appears to be working.&amp;nbsp; Thank you for the assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 10:40:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/sorting-in-the-attribute-table-wab-widget/m-p/267356#M7093</guid>
      <dc:creator>Clint_Glover</dc:creator>
      <dc:date>2017-11-02T10:40:19Z</dc:date>
    </item>
  </channel>
</rss>

