Select to view content in your preferred language

Attribute Table Fields Formatting

3040
2
02-03-2016 11:33 PM
MajdiTurkman1
Occasional Contributor

Hello,

I'm trying to format attribute table fields, such as the following:

  • Date time Field: show date only without time.
  • Number field: add dollar sign and format the value to have decimal separator.
  • Text field: show only the first 50 characters and append "...".

Any Idea?

Thanks.

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Majdi,

  Here is a thread on where you can adjust the date portion in code:

Attribute Table Widget: Removing Time from DateTime Field

There is no configuration for formatting fields in the AT widget.

I have not seen any threads on adjusting numeric formats.

AnninaHirschi_Wyss1
Frequent Contributor

Hi mfet_glory,

I don't know if you resolved this question already, it's been a while. I reply, because I just stumbled upon the same issue.

At least for the time and digits, you have to specify this in the Web Map Pop Up. -> Open the layer (or table) pop up, click on "configure attributes". Even if you have a custom attribute display, these configurations are reflected.

Best,

Annina