All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.