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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

169 views 1 3
Join discussion

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