01-17-2021 07:11 AM
I want to display a tooltip of a certain decimal fields value as an integer (without any trailing decimal point and additional decimal number), without changing the underlying data type.
How can I change the number display format using HTML\CSS\JS?
Solved! Go to Solution.
01-19-2021 05:29 AM
Yes you are correct. The CSS can be formatted directly in the tenant database MAPP_VECTOR table for the desired tooltip.
However, CSS will not format the attribute value and for that JS is needed.
AFAIK there is not a reasonable way to accomplish this in Desktop.
You may include a custom script with the JS formatting function to a workflow and have this task be a user initiated action, but we are now having to consider the amount of effort.
It could be easier to format another attribute at the database level that drops the decimal places and use that as the Tooltip attribute.
The JS is more easily applied in Analyzer View tooltips by way of functional attributes.