Currency Sorting in visualforce page
Currency Sorting in visualforce page
vetridazeworks
Posts: 11Questions: 5Answers: 0
I am using datatable in the visualforce page(salesforce). I have a situation where couple of columns are currency field and it comes up in the following format
EUR 50.00 or EUR 50.00 (USD 42.14) if multi-currency is enabled. I tried using the sorting plugin, but it is not working. Also it is not possible to show the symbols instead of currency code in SF.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @vetridazeworks ,
Take a look at this thread here, specifically my example at the end - this does sorting on a cell with two values, similar to yours. You can create a custom sorting function that will match your data.
Cheers,
Colin