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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published 19m ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

16 views 2 1
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