<?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 How do I format a numeric field in a pop-up of Editor widget ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-format-a-numeric-field-in-a-pop-up-of/m-p/414326#M38130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I'm trying to customize my Editor widget pop-up, so that the field accept&amp;nbsp;2 decimal places.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I am using 3.29 API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I tried below code and it didn't work :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;fieldInfos: [&lt;BR /&gt; {&lt;BR /&gt; fieldName: 'LENGTH',&lt;BR /&gt; label: 'Length (m)',&lt;BR /&gt; isEditable: true,&lt;BR /&gt; format: {&lt;BR /&gt; places: 2,&lt;BR /&gt; digitSeparator: true&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; fieldName: 'SLOPE',&lt;BR /&gt; label: 'Slope (Degree)',&lt;BR /&gt; format: {&lt;BR /&gt; places: 2,&lt;BR /&gt; digitSeparator: true&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; fieldName: 'DIAMETER',&lt;BR /&gt; label: 'Diameter (cm)',&lt;BR /&gt; format: {&lt;BR /&gt; places: 2,&lt;BR /&gt; digitSeparator: true&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; fieldName: 'COLORTYPE',&lt;BR /&gt; label: 'TYPE',&lt;BR /&gt; },&lt;BR /&gt;],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mayur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2019 12:01:46 GMT</pubDate>
    <dc:creator>MayurDodiya</dc:creator>
    <dc:date>2019-09-19T12:01:46Z</dc:date>
    <item>
      <title>How do I format a numeric field in a pop-up of Editor widget ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-format-a-numeric-field-in-a-pop-up-of/m-p/414326#M38130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I'm trying to customize my Editor widget pop-up, so that the field accept&amp;nbsp;2 decimal places.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I am using 3.29 API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I tried below code and it didn't work :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;fieldInfos: [&lt;BR /&gt; {&lt;BR /&gt; fieldName: 'LENGTH',&lt;BR /&gt; label: 'Length (m)',&lt;BR /&gt; isEditable: true,&lt;BR /&gt; format: {&lt;BR /&gt; places: 2,&lt;BR /&gt; digitSeparator: true&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; fieldName: 'SLOPE',&lt;BR /&gt; label: 'Slope (Degree)',&lt;BR /&gt; format: {&lt;BR /&gt; places: 2,&lt;BR /&gt; digitSeparator: true&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; fieldName: 'DIAMETER',&lt;BR /&gt; label: 'Diameter (cm)',&lt;BR /&gt; format: {&lt;BR /&gt; places: 2,&lt;BR /&gt; digitSeparator: true&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; fieldName: 'COLORTYPE',&lt;BR /&gt; label: 'TYPE',&lt;BR /&gt; },&lt;BR /&gt;],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mayur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 12:01:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-format-a-numeric-field-in-a-pop-up-of/m-p/414326#M38130</guid>
      <dc:creator>MayurDodiya</dc:creator>
      <dc:date>2019-09-19T12:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I format a numeric field in a pop-up of Editor widget ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-format-a-numeric-field-in-a-pop-up-of/m-p/414327#M38131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mayur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Unfortunately, ESRI has not provided any options to format the displayed value. The PopupTemplate has option to format the values, but not with AttributeInspector.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 13:28:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-format-a-numeric-field-in-a-pop-up-of/m-p/414327#M38131</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-09-19T13:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I format a numeric field in a pop-up of Editor widget ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-format-a-numeric-field-in-a-pop-up-of/m-p/414328#M38132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;Thank you very much for prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mayur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 19:48:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-format-a-numeric-field-in-a-pop-up-of/m-p/414328#M38132</guid>
      <dc:creator>MayurDodiya</dc:creator>
      <dc:date>2019-09-19T19:48:33Z</dc:date>
    </item>
  </channel>
</rss>

