In a previous post on this subject xerox1, Matt Siple asked:
Can I format the output in the Attribute Table without having to go into the mxml code?
Example:
In an Attribute Table I have a column "A" that has the value "0.898387189343111312". I would like to truncate it at 3 decimal points so that the table just shows "0.898".
(Like you can in the InfoPopUpWindow. <field> name = "zyz" <format precision = "2"> </field>)
Matt answered his question in the following thread:
Follow up: Since I never got an answer to this, I assume no has done it and that there is no way to do it the way it was proposed.
The obvious (although not when I asked this question.) solution to this is to format the output in on the server side. I just round off/truncate the value in the db. .03-12-2013.
Although Matt has found a solution to this problem, this seems like a less than ideal solution as you have a field in the database that basically duplicates an existing field and is less precise. It seems as though this functionality should be available via the config files. Does anyone know if this is the case?
This is especially important since the Attribute Table Widget can only be used with SDE data as it requires feature access. ESRI is aware of this shortcoming and says this will be solved in the next release. Adding a new field to a database requires a schema change which is more disruptive to a GIS environment than modifying the config file of a widget to display field data differently than it appears in the source database.
Can I format the output in the Attribute Table without having to go into the mxml code?
Example:
In an Attribute Table I have a column "A" that has the value "0.898387189343111312". I would like to truncate it at 3 decimal points so that the table just shows "0.898".
(Like you can in the InfoPopUpWindow. <field> name = "zyz" <format precision = "2"> </field>)
Matt answered his question in the following thread:
Follow up: Since I never got an answer to this, I assume no has done it and that there is no way to do it the way it was proposed.
The obvious (although not when I asked this question.) solution to this is to format the output in on the server side. I just round off/truncate the value in the db. .03-12-2013.
Although Matt has found a solution to this problem, this seems like a less than ideal solution as you have a field in the database that basically duplicates an existing field and is less precise. It seems as though this functionality should be available via the config files. Does anyone know if this is the case?
This is especially important since the Attribute Table Widget can only be used with SDE data as it requires feature access. ESRI is aware of this shortcoming and says this will be solved in the next release. Adding a new field to a database requires a schema change which is more disruptive to a GIS environment than modifying the config file of a widget to display field data differently than it appears in the source database.