Hello GIS Developers,
@KaraUtter2 @BrianEaster @Adam_Bourque @CalebAnderson @jcarlson @TianWen @ShefaliVerma_afsc @JoshTownsend @d-slet @AW_Grove @CristianGraf @AaronKoelker
After spending one long week I try to understand the API code and figured out a solution.. Esri didn't implement the field formatting but we can implement using a small code modification.
1. Download the JavaScript API from this link and ArcGIS Javascript API and host the API in your web server (I placed ArcGIS JavaScript API beside to the actual application)
2. Navigate to 4.23 --> Esri --> widgets --> FeatureTable --> FieldColumn.js file and search for the below line of code and usually it exists in the declarations section (line 7 in 4.23)
M=A.convertNumberFormatToIntlOptions({digitSeparator:!0,places:null})
3. Just replace !0 with 0 and that's it. It worked for me like a charm.
M=A.convertNumberFormatToIntlOptions({digitSeparator:0,places:null})
4. Now I don't see comma in Integer, Float and Decimal datatype columns.
Note: Use this URL https://js.arcgis.com/4.23/ locally while building the custom widgets in the client folder. Replace the URL https://js.arcgis.com/4.23/ with JS API deployed URL https://domainname.com/4.23 in the client folder in all the files. Build the package and deploy it.
Happy and Enjoy coding 😎
- Srikanth Dasari
https://www.linkedin.com/in/srikanth-dasari-0526/