Table Grid Editor

I am setting up a grid and I have a column called "Amt to Bill" and I would like to have the value have a "$" and 2 decimals, but can't find any doc to support either. Need Help. Below is what my code is:

# The Amt To Bill column is the Amount of which customer should be billed

col.AmtToBill=Amt To Bill
col.AmtToBill.name=AmtToBill
col.AmtToBill.type=number
col.AmtToBill.width=50
col.AmountToBill.Summary=Total:

Jira Server: v7.1.6

1 answer

0 votes

Ok, you need to put two pieces of code together.  First some CSS.

css.png

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>123</title>
<style>
.dollars:before {
content: "$";
}
.euros:before {
content: "€";
}
</style>
</head>

<body>
<table>
<tr><td class='mytable'><span class="dollars">123.99</span></td></tr>
<tr><td class='mytable'><span class="euros">123.99</span></td></tr>
</table>
</body>

</html>


 Now, the user guide reference:

https://wiki.idalko.com/display/TGPD/HTML+Markup

 

You'll need to find the column that you need to apply the CSS style to and go from there ;)

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

240 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot