- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 10:03 AM
Hi,
Is there a way to change decimal type fields to be left-aligned?
Thanks,
Maria
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 10:25 AM
The screenshot appears to be of configuration item table. If that is the case, I would strongly advise against using DOM.
Create a field style for the field and use the following in style column
text-align:left |

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 10:08 AM
You will have to use DOm techniques for this. Write an onLoad client script and put this in there
$("<table_name>.<fiel_name>").style.textAlign="left";
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 10:23 AM
Thanks, Abhinay! Is there any way I can apply this setting for any decimal field instead of writing a script for each field?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 10:25 AM
The screenshot appears to be of configuration item table. If that is the case, I would strongly advise against using DOM.
Create a field style for the field and use the following in style column
text-align:left |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 10:26 AM