Field currency or format for number-field

Is it possible to get a field for curreny (Euro) for Igrid Table Grid Plugin? Or is there an easy possibility to build such a field? It wpuld be enough to have a number field with two digits displayed after "." (like 19.80 or 2.00). Better would be a strikt format like 19,80 € or 2,00 €.

2 answers

Hi Stephan,

We are currently working on the calculated column feature.
You will be able to add a formula to each column of type string, integer or number.

For example:

col.linetotal.type=number
col.linetotal.formula = {quantity} * {price} * {discount}

The obvious next step is of course a number formatting capability

col.linetotal.formatNumber = "€ 0.00"

You're welcome to track following feature request
https://support.idalko.com/browse/IGRID-1824

Francis

FYI

col.xyz.formatNumber has been released in 1.13

This code in my currency custom field - which is set for USD - could be changed to format for Euro:

 

view.vm

#if ($value)
$$numberTool.format('#,##0.00', $value)
#end

 

I can supply the full source code if you like.

Hi Brian,

Is it possible to share your full code?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

467 views 7 5
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