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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

146 views 1 10
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