<?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: FeatureTable formatter frustrations in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670065#M62509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah. I bumped that thread for an update to no avail. It just feels like it's in beta with the glaring deficiencies. Since there is no refresh method, I did &lt;A href="http://ideas.arcgis.com/ideaView?id=087E0000000kAstIAE#sthash.aVyg2PrH"&gt;create a request&lt;/A&gt; on the ArcGIS Ideas website.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2015 20:52:24 GMT</pubDate>
    <dc:creator>SteveCole</dc:creator>
    <dc:date>2015-12-09T20:52:24Z</dc:date>
    <item>
      <title>FeatureTable formatter frustrations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670063#M62507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[say that three times fast]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm getting frustrated with the FeatureTable dijit since it seems like a half done widget. The layer I am displaying with the featureTable has a date field along with several double fields that represent currency. In Arcmap, I tried set the aliases for all columns and tried applying a format as well. When the mXD was published as a service, the field name aliases appear but the formatting doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I learned from another thread, ESRI has actually "turned off" the date formatter that you can specify during construction of the widget (nice of you to note this in your documentation, ESRI!) so that leaves me currently.....screwed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have tried to do is create formatter functions in my app and then specify them to the appropriate dGrid columns using Set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var dateField = myTable.colums[6];
var drCostField = myTable.columns[9];
dateField.set('formatter',formateDate);
drCostField.set('formatter',formatCurrency);&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does....nothing. And, from what I can see, there is not refresh method on the featureTable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone overcome this?..&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670063#M62507</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2021-12-12T04:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureTable formatter frustrations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670064#M62508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the API documentation, it doesn't say anything about it being in beta. I saw the thread you mentioned - &lt;A href="https://community.esri.com/message/520158"&gt;FeatureTable dijit appears to ignore the dateOptions&lt;/A&gt; - &lt;A href="https://community.esri.com/migrated-users/2525"&gt;Kelly Hutchins&lt;/A&gt;​ said the doc would be updated - that was back around API v3.12 As far as the documentation is concerned, it should work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 20:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670064#M62508</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-12-09T20:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureTable formatter frustrations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670065#M62509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah. I bumped that thread for an update to no avail. It just feels like it's in beta with the glaring deficiencies. Since there is no refresh method, I did &lt;A href="http://ideas.arcgis.com/ideaView?id=087E0000000kAstIAE#sthash.aVyg2PrH"&gt;create a request&lt;/A&gt; on the ArcGIS Ideas website.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 20:52:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670065#M62509</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2015-12-09T20:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureTable formatter frustrations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670066#M62510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, I can confirm that the dateOptions &amp;gt; datePattern still does not work in 3.15&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 20:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670066#M62510</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-09T20:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureTable formatter frustrations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670067#M62511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something does appear to happen when you enable time:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;


&amp;lt;head&amp;gt;
&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&amp;gt;
&amp;nbsp; &amp;lt;title&amp;gt;FeatureTable without map&amp;lt;/title&amp;gt;
&amp;nbsp; &amp;lt;link rel="stylesheet" href="https://community.esri.com//js.arcgis.com/3.15/dijit/themes/claro/claro.css"&amp;gt;
&amp;nbsp; &amp;lt;link rel="stylesheet" href="https://community.esri.com//js.arcgis.com/3.15/esri/css/esri.css"&amp;gt;
&amp;nbsp; &amp;lt;script src="//js.arcgis.com/3.15/"&amp;gt;&amp;lt;/script&amp;gt;


&amp;nbsp; &amp;lt;style&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; html, body, #map{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width:100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height:100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; &amp;lt;/style&amp;gt;


&amp;nbsp; &amp;lt;script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var map;


&amp;nbsp;&amp;nbsp;&amp;nbsp; require([
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/IdentityManager",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/layers/FeatureLayer",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/dijit/FeatureTable",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/dom-construct",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/dom",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/parser",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/ready",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/on",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/_base/lang",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dijit/registry"
&amp;nbsp;&amp;nbsp;&amp;nbsp; ], function (
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IdentityManager, FeatureLayer, FeatureTable,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domConstruct, dom, parser, ready, on,lang,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; registry
&amp;nbsp;&amp;nbsp;&amp;nbsp; ) {


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.parse();


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ready(function(){


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create the feature layer
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myFeatureLayer = new FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgis.com%2FV6ZHFr6zdgNZuVG0%2FArcGIS%2Frest%2Fservices%2FApple_Stores%2FFeatureServer%2F0" target="_blank"&gt;https://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services/Apple_Stores/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;", {&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields:&amp;nbsp; ["Store", "Opening_Date"],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: "fLayer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myTable = new FeatureTable({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "featureLayer" : myFeatureLayer,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dateOptions": {"datePattern" : "yyyyMMdd", "timeEnabled" : true, "timePattern": "HH:mm:ss"}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, 'myTableNode');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myTable.startup();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp; &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;


&amp;lt;body class="claro esri"&amp;gt;
&amp;nbsp; &amp;lt;p&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;i&amp;gt;The FeatureTable dijit supports tables with lots of features, with the table growing as you scroll.&amp;lt;/i&amp;gt;
&amp;nbsp; &amp;lt;/p&amp;gt;
&amp;nbsp; &amp;lt;div id="myTableNode"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;


&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="154058" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/154058_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formatting still isn't right, though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670067#M62511</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2021-12-12T04:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureTable formatter frustrations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670068#M62512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct the timeEnabled is the only option that works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 21:12:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670068#M62512</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-09T21:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureTable formatter frustrations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670069#M62513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did some quick debugging:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 299 (pretty-printed in &lt;A href="http://js.arcgis.com/3.15/esri/dijit/FeatureTable.js" title="http://js.arcgis.com/3.15/esri/dijit/FeatureTable.js"&gt;http://js.arcgis.com/3.15/esri/dijit/FeatureTable.js&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14496966593139495 jive_text_macro" data-renderedposition="92_8_912_16" jivemacro_uid="_14496966593139495"&gt;&lt;P&gt;l ? B ? b.push(this._generateDateTimeEditorColumn(a, this._layerInfo._fieldInfo&lt;C&gt;)) :&lt;/C&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't seem to ever get into &lt;STRONG&gt;_generateDateTimeEditorColumn&lt;/STRONG&gt;, which is the only place I found tapping into the formatter. Instead, we go into &lt;STRONG&gt;_generateDateTimeColumn&lt;/STRONG&gt;, which only has a reference to timeEnabled. Seems like it's missing functionality... But, that had me wondering, the API does specifically say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fafafa;"&gt;Object defining the date options specifically for formatting date and time &lt;STRONG&gt;editors&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 21:31:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670069#M62513</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-12-09T21:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureTable formatter frustrations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670070#M62514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Good catch I missed the "editors" part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 21:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featuretable-formatter-frustrations/m-p/670070#M62514</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-09T21:33:35Z</dc:date>
    </item>
  </channel>
</rss>

