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