Class FormatSettings
Allows specific fields used to display the values with specific format that used to be displayed in the pivot table.
For example, to display a specific field with currency formatted values in the pivot table, the set the format property to be C.
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class FormatSettings
Constructors
FormatSettings()
Declaration
public FormatSettings()
Properties
AltSymbol
Species which currency symbol to consider.
Declaration
[JsonPropertyName("altSymbol")]
public string AltSymbol { get; set; }
Property Value
| Type |
|---|
| string |
Calendar
Specifies the calendar mode other than gregorian.
Declaration
[JsonPropertyName("calendar")]
public string Calendar { get; set; }
Property Value
| Type |
|---|
| string |
Currency
Specifies the currency code to be used for formatting.
Declaration
[JsonPropertyName("currency")]
public string Currency { get; set; }
Property Value
| Type |
|---|
| string |
Format
Specifies custom number format for formatting.
Declaration
[JsonPropertyName("format")]
public string Format { get; set; }
Property Value
| Type |
|---|
| string |
IsServerRendered
Enable server side date formating.
Declaration
[JsonPropertyName("isServerRendered")]
public bool IsServerRendered { get; set; }
Property Value
| Type |
|---|
| bool |
MaximumFractionDigits
Specifies maximum fraction digits in formatted value.
Declaration
[JsonPropertyName("maximumFractionDigits")]
public int MaximumFractionDigits { get; set; }
Property Value
| Type |
|---|
| int |
MaximumSignificantDigits
Specifies maximum significant digits in formatted value.
Declaration
[JsonPropertyName("maximumSignificantDigits")]
public int MaximumSignificantDigits { get; set; }
Property Value
| Type |
|---|
| int |
MinimumFractionDigits
Specifies minimum fraction digits in formatted value.
Declaration
[JsonPropertyName("minimumFractionDigits")]
public int MinimumFractionDigits { get; set; }
Property Value
| Type |
|---|
| int |
MinimumIntegerDigits
Specifies minimum integer digits in formatted value.
Declaration
[JsonPropertyName("minimumIntegerDigits")]
public int MinimumIntegerDigits { get; set; }
Property Value
| Type |
|---|
| int |
MinimumSignificantDigits
Specifies minimum significant digits in formatted value.
Declaration
[JsonPropertyName("minimumSignificantDigits")]
public int MinimumSignificantDigits { get; set; }
Property Value
| Type |
|---|
| int |
Name
It allows to set the field name to apply format settings.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
| Type |
|---|
| string |
Type
It allows to set the type as date or number or custom to the specified field for apply formatting. The types are: Number - Defines format type as 'Number' for numeric type field. DateTime - Defines format type as 'DateTime' for date type field.
Declaration
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public FormatType Type { get; set; }
Property Value
| Type |
|---|
| FormatType |
UseGrouping
Specifies whether to use grouping or not in formatted value,.
Declaration
[JsonPropertyName("useGrouping")]
public bool UseGrouping { get; set; }
Property Value
| Type |
|---|
| bool |