Search Results: "wiki/RecentlyCommented" property

Component Configuration Syntax

Guides

Reference.Button.Configuration Get and Set Properties All operations with UI component properties are carried out using the option() method. You can use it to do the following. Get a Single Property JavaScript...").dxDataGrid("option"); Set a Single Property JavaScript var dataGridInstance = $("#dataGridContainer").dxDataGrid("instance"); dataGridInstance.option("dataSource", []); dataGridInstance.option("editing.mode

Component Configuration Syntax

Guides

Static String Property Value HTML <dx-button text="Simple button"></dx-button> Static Non-String Property Value HTML <dx-button [disabled]="false" [width]="50"> </dx-button> Properties of the Object Type Use UI components prefixed with dxo- ("o" stands for "object"). In the following example, we configure the TreeMap's tooltip property: HTML <dx-tree-map>

Component Configuration Syntax

Guides

fallbacks in place. Static Property Value Function componentClass component import Button from 'devextreme-react/button'; export default function App() { return ( <Button disabled... configuration components. In the following example, we configure the Chart UI component's tooltip property: Function componentClass component import Chart, { Tooltip } from 'devextreme-react/chart

Component Configuration Syntax

Guides

Static String Property Value HTML <DxButton text="Simple button" /> Static Non-String Property Value HTML <DxButton :disabled="false" :width="50" /> Properties of the Object Type Use nested configuration components. In the following example, we configure the Chart's tooltip property: App.vue (Options API)App.vue (Composition API) <template> <DxChart>

Object Structures

Reference
This section describes the structure of the objects that are used in API multiple times as function parameters or property values.

. format Formats values. This property accepts three types of values: String A predefined format or custom format string. Function Applies a custom format to a value and returns this value as a string. A shortcut for the formatter property. Object Allows you to configure the format. Can have one of the following structures: DevExtreme // Uses a predefined format format: { type: String