CurrencyFormatter
Description
A CurrencyFormatter is a class that extends the DecimalFormatter class and which formats numbers as currency values.
Functions
|
Method |
Argument(s) |
Output |
Description |
|---|---|---|---|
|
constructor |
void |
Creates a |
Example
const formatDefinitions = {
euroCurrency: { provider: new Xceed.CurrencyFormatter({ symbol: "\u20AC", position: "right" }) },
};
The FormatDefinitionCollection must then be provided to the DataGrid through the DataGridOptions.
Need help? Contact us!