Formatting Attribute Table

759
3
02-20-2013 04:19 AM
MehrshadNourani
New Contributor III
I have two questions regarding formatting the Attribute Table widget:
1. Is there a way to format fields not show all the fields, and select what I need to show?
2. Is there a way to format decimal places?

I would be grateful for any guidance!

Mehrshad
Tags (2)
0 Kudos
3 Replies
AnthonyGiles
Frequent Contributor
Mehrdad,

You can configure your fields to show using the layersettings & layer tags, have a look at the example here:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Attribute_Table_widget_tags/01m...

Cannot see any reference to formatting decimal fields you could try using the format tag in the field properties like you do on a popup, to see if the same code has been used and not documented:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Pop_up_configuration_files/01m3...

Regards

Anthony
0 Kudos
MehrshadNourani
New Contributor III
Anthony,

Thanks for your help. I was able to locate the code.

Regards,
Mehrshad
0 Kudos
ColleenSullivan
New Contributor II
Mehrshad,

Could you share the solution you figured out? I tried inserting precision="0" and precision="-1" in the field tag of the particular field (type: double) that I am attempting to remove decimals from in the attribute table widget.

Thanks!
0 Kudos