DashboardPrivateSettings Class
Contains experimental settings that affect dashboard controls and their elements.
Declaration
export class DashboardPrivateSettings
Remarks
Important
Settings from this class can cause unexpected problems if you use it for cross-platform solutions.
Properties
customNumericFormatMode Property
Lists values used to specify a custom numeric format mode.
Declaration
static customNumericFormatMode: 'Disabled' | 'Hidden' | 'Enabled'
Property Value
Name | Description |
---|---|
"Disabled" | Custom format is disabled. |
"Hidden" | Custom format is enabled. It is hidden from the UI, but you can set it in code. |
"Enabled" | Custom format is enabled. You can set it in the UI and in code. |
Remarks
To display custom formats in the Web Dashboard, enable the customNumericFormatMode property on the client side and the CustomNumericFormatMode property on the server side.
The Dashboard Controls for Web and for the Desktop use two custom formats that are not fully compatible with each other. Desktop Dashboard Controls uses the .NET formatting, while the Web Dashboard Control uses DevExtreme formatting when it displays elements and .NET formatting for export. Use the customNumericFormatMode property to enable a custom format at your own risk. The customFormatString property provides a custom format string.