good day, I have a table "https://material-table-core.com" which shows me the information of my database, but I need the table to show me the values of the column "valor_t2" in currency format but I have tried but failed to do so, posted my code:
https://codesandbox.io/s/amazing-rumple-x6fzwi?file=/src/App.js
Based on the example you provide, you can add a function
toMoney
and rely on the native libraryIntl
;Documentation: https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/format
Therefore the result is the following;
https://codesandbox.io/s/amazing-montalcini-8c6dku?file=/src/App.js