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
Ok, you need to put two pieces of code together. First some CSS.
<!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 ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.