It would be really handy if the attribute table widget could be configured similarly to popups with settings for:
•precision—Number of decimal places to show. You can disable precision by setting it to -1, which is the default. Optional.
•usethousandsseparator—Boolean. Indicate whether numbers should have a thousand's separator. Default is 'true'. (Optional).
My workaround
At the moment I have a service using an oracle view related to a spatial layer which contain totals as numbers (type: esriFieldTypeDouble). These displayed in the attribute table widget as numbers with 2 decimal places. As a workaround to show them in the attribute table as integers I have recreated my view with additional columns displaying the numbers as strings using the SQL function cast.
•precision—Number of decimal places to show. You can disable precision by setting it to -1, which is the default. Optional.
•usethousandsseparator—Boolean. Indicate whether numbers should have a thousand's separator. Default is 'true'. (Optional).
My workaround
At the moment I have a service using an oracle view related to a spatial layer which contain totals as numbers (type: esriFieldTypeDouble). These displayed in the attribute table widget as numbers with 2 decimal places. As a workaround to show them in the attribute table as integers I have recreated my view with additional columns displaying the numbers as strings using the SQL function cast.