A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://js.devexpress.com/Vue/Documentation/ApiReference/UI_Components/dxTreeMap/Configuration/ below:

Vue TreeMap Props | Vue Documentation

This section describes properties that configure the contents, behavior and appearance of the TreeMap UI component.

Specifies the name of the data source field that provides nested items for a group. Applies to hierarchical data sources only.

Selector: children-field

Default Value: 'items'

In hierarchical data sources, objects normally have at least one nested array of objects. To specify the field providing this array, assign its name to the childrenField property. Such hierarchical objects will be visualized by groups of tiles.

See Also

Specifies the name of the data source field that provides colors for tiles.

Selector: color-field

Default Value: 'color'

There are several approaches to colorizing tiles.

You can use the first approach only if objects of your data source contain a field providing colors. If so, assign the name of this field to the colorField property. The colors must have one of the following formats:

This approach has the highest priority among the others. To get familiar with the other two approaches, see the colorizer and tile.color property descriptions.

Manages the color settings.

There are several approaches to colorizing tiles.

If for some reason you cannot use the first approach, colorize tiles using the colorizer object. It offers three colorization algorithms: "discrete", "gradient" and "range". For more information on how to use each algorithm, refer to the type property description.

To find out how else you can colorize tiles, see the colorField and tile.color property descriptions.

View Demo

Binds the UI component to data.

Selector: data-source

Cannot be used in themes.

The TreeMap works with collections of objects.

Objects that have a plain structure are visualized by tiles. For example, the following array of objects produces four tiles:

let data = [
    { name: "Apples", value: 10 },
    { name: "Oranges", value: 13 },
    { name: "Cucumbers", value: 4 },
    { name: "Tomatoes", value: 8 }
];

Objects that have a hierarchical structure are visualized by groups of tiles. For example, the following array arranges the tiles from the previous code in two groups: "Fruits" and "Vegetables".

let data = [{
    name: "Fruits",
    items: [
        { name: "Apples", value: 10 },
        { name: "Oranges", value: 13 }
    ]
}, {
    name: "Vegetables",
    items: [
        { name: "Cucumbers", value: 4 },
        { name: "Tomatoes", value: 8 }
    ]
}];

View Demo

For both structures, set the valueField and labelField; for the hierarchical structure, also set the childrenField.

A plain data array can imply a hierarchical structure. An example of such array is given below. In this case, set the idField and parentField in addition to the valueField and labelField.

let data = [
    { id: 1, name: "Fruits"},
    { parent: 1, name: "Apples", value: 10 },
    { parent: 1, name: "Oranges", value: 13 },

    { id: 2, name: "Vegetables" },
    { parent: 2, name: "Cucumbers", value: 4 },
    { parent: 2, name: "Tomatoes", value: 8 }
];

let treeMapOptions = {
    // ...
    idField: "id",
    parentField: "parent"
};

View Demo

Depending on your data source, bind the TreeMap to data as follows.

Regardless of the data source on the input, the TreeMap always wraps it in the DataSource object. This object allows you to sort, filter, group, and perform other data shaping operations. To get its instance, call the getDataSource() method.

Review the following notes about data binding:

jQuery Angular Vue React

Specifies whether the UI component responds to user interaction.

Default Value: false

Cannot be used in themes.

Specifies the global attributes to be attached to the UI component's container element.

Selector: DxElementAttr

Default Value: {}

jQuery
$(function(){
    $("#treeMapContainer").dxTreeMap({
        // ...
        elementAttr: {
            id: "elementId",
            class: "class-name"
        }
    });
});
Angular
<dx-tree-map ...
    [elementAttr]="{ id: 'elementId', class: 'class-name' }">
</dx-tree-map>
import { DxTreeMapModule } from "devextreme-angular";
// ...
export class AppComponent {
    // ...
}
@NgModule({
    imports: [
        // ...
        DxTreeMapModule
    ],
    // ...
})
Vue
<template>
    <DxTreeMap ...
        :element-attr="treeMapAttributes">
    </DxTreeMap>
</template>

<script>
import DxTreeMap from 'devextreme-vue/tree-map';

export default {
    components: {
        DxTreeMap
    },
    data() {
        return {
            treeMapAttributes: {
                id: 'elementId',
                class: 'class-name'
            }
        }
    }
}
</script>
React
import React from 'react';

import TreeMap from 'devextreme-react/tree-map';

class App extends React.Component {
    treeMapAttributes = {
        id: 'elementId',
        class: 'class-name'
    }

    render() {
        return (
            <TreeMap ...
                elementAttr={this.treeMapAttributes}>
            </TreeMap>
        );
    }
}
export default App;

Configures the exporting and printing features.

Selector: DxExport

Type: viz/core/base_widget:BaseWidgetExport

Configures groups.

A group is an element that collects several tiles in it. In terms of data, it is a node that has children in the current context. Groups appear only if the data source implies a hierarchical structure.

The following list provides an overview of group features that you can configure using the group object.

An object assigned to the group field configures all groups in the UI component. To customize a specific group, pass a similar object to the customize(options) method of the node represented by the group.

Specifies whether tiles and groups change their style when a user pauses on them.

Selector: hover-enabled

Default Value: undefined

When the user pauses on a group, not only the group changes its style, but also tiles that belong to that group. However, the

isHovered()

method, which checks the tiles' state, will return

false

although visually they have entered the hover state.

See Also

Specifies the name of the data source field that provides IDs for items. Applies to plain data sources only.

Selector: id-field

Default Value: undefined

In certain cases, you may have a plain data source that implies a hierarchical structure. For example, the following code declares a data source that, despite being plain, can be rearranged into a hierarchy of two groups with two items in each.

var treeMapOptions = {
    // ...
    dataSource: [
        // Group 1
        { id: 1, name: 'Fruits'},
        { parent: 1, name: 'Apples', value: 10 },
        { parent: 1, name: 'Oranges', value: 13 },

        // Group 2
        { id: 2, name: 'Vegetables' },
        { parent: 2, name: 'Cucumbers', value: 4 },
        { parent: 2, name: 'Tomatoes', value: 8 }
    ]
};

Note that in this data source, objects that have children have the "id" field whose value is unique. Their children have the "parent" field pointing at the parent's ID. The "id" and "parent" fields can have other names, but in any case, they must be assigned to the idField and parentField properties.

var treeMapOptions = {
    // ...
    idField: 'id',
    parentField: 'parent'
};

View Demo

Specifies whether the user will interact with a single tile or its group.

Selector: interact-with-group

Default Value: false

By default, the click, hoverChanged and selectionChanged events are fired for the tile that has been clicked, paused on or selected. If you need these events to be passed on to the parent group of the tile, set the interactWithGroup property to true. This setting impacts appearance as well. For example, when the user pauses on a tile, the whole group to which the tile belongs will apply the hover style.

Specifies the name of the data source field that provides texts for tile and group labels.

Selector: label-field

Default Value: 'name'

Each tile or group of tiles is accompanied by a text label. Usually, a label displays the name of the tile or the group. However, you can put any desired text into it. For this purpose, call the label(label) method of the node whose label must be changed. You can call this method, for example, when all nodes are initialized or when they are being rendered.

If you need to change the appearance of all labels, use the tile.label and group.label objects. To change the appearance of a particular label, use the customize(options) function of the node to which the label belongs.

See Also

Specifies the layout algorithm.

Selector: layout-algorithm

Function parameters:

Data for implementing a custom layout algorithm.

Object structure:

Name Type Description items

Array<any>

A set of items to distribute. Each object in this array contains the value and rect fields.
By default, rect is undefined. It must be assigned an array of the following format: [x1, y1, x2, y2], where (x1, y1) and (x2, y2) are coordinates of two diagonally-opposite points defining a rectangle.

rect

Array<Number>

The rectangle available for subdivision.
Contains the X and Y coordinates of two diagonally-opposite points in the following format: [x1, y1, x2, y2].

sum

Number

The sum total value of all nodes on the current level.

Default Value: 'squarified'

Layout algorithms determine the position and size of tiles and groups. Therefore, the chosen algorithm plays the definitive role in the resulting look of the UI component. TreeMap provides the following algorithms out of the box.

If none of the predefined algorithms satisfy your needs, implement your own algorithm. For this purpose, assign a function to the layoutAlgorithm property. Basically, this function should calculate the coordinates of two diagonally-opposite points defining a rectangle and assign them to the needed item. To access a set of items to distribute, use the items field of the function's parameter. All available fields of the parameter are listed in the header of this description.

var treeMapOptions = {
    // ...
    layoutAlgorithm: function (e) {
        // ...
        e.items.forEach(function(item) {
            // ...
            // Calculating the rectangle for the current item here
            // ...
            item.rect = rectPoints;
        });
    }
};

In addition, you can change the layout direction. For this purpose, use the layoutDirection property.

View Demo

Specifies the direction in which the items will be laid out.

Selector: layout-direction

Default Value: 'leftTopRightBottom'

The value of this property determines the start and end point of the layout. See the image below to spot the difference between the available layout directions.

Configures the loading indicator.

Selector: DxLoadingIndicator

Type: viz/core/base_widget:BaseWidgetLoadingIndicator

When the UI component is bound to a remote data source, it can display a loading indicator while data is loading.

To enable the automatic loading indicator, set the enabled property to true.

If you want to change the loading indicator's visibility, use the show property or the showLoadingIndicator() and hideLoadingIndicator() methods.

Specifies how many hierarchical levels must be visualized.

Selector: max-depth

Default Value: undefined

If you have a structure with deep nesting level, displaying all levels at once produces visual clutter. To reduce it, specify the number of levels that can be visualized at a time using the maxDepth property.

When you set this property, data that occupies the lowest levels may become unavailable to the user. For such cases, implement the drill down feature.

A function that is executed when a node is clicked or tapped.

Selector: @click

Function parameters:

Information about the event.

Object structure:

Default Value: null

Cannot be used in themes.

This function is often used to implement item selection as shown in the following code:

jQuery
$(function () {
    $("#treeMapContainer").dxTreeMap({
        // ...
        onClick: function (e) {
            e.node.select(!e.node.isSelected());
        }
    });
});
Angular
<dx-tree-map ...
    (onClick)="selectItem($event)">
</dx-tree-map>
import { DxTreeMapModule } from "devextreme-angular";
// ...
export class AppComponent {
    selectItem (e) {
        e.node.select(!e.node.isSelected());
    }
}
@NgModule({
    imports: [
        // ...
        DxTreeMapModule
    ],
    // ...
})
Vue
<template>
    <DxTreeMap ...
        @click="selectItem">
    </DxTreeMap>
</template>

<script>
import DxTreeMap from 'devextreme-vue/tree-map';

export default {
    components: {
        DxTreeMap
    },
    methods: {
        selectItem (e) {
            e.node.select(!e.node.isSelected())
        }
    }
}
</script>
React
import React from 'react';

import TreeMap from 'devextreme-react/tree-map';

class App extends React.Component {
    render() {
        return (
            <TreeMap ...
                onClick={this.selectItem}>
            </TreeMap>
        );
    }

    selectItem (e) {
        e.node.select(!e.node.isSelected())
    }
}

export default App;

To identify whether the clicked node is a single tile or a group of tiles, use the node's isLeaf() method.

A function that is executed before the UI component is disposed of.

Selector: @disposing

Function parameters:

Information about the event.

Object structure:

Default Value: null

A function that is executed when the UI component's rendering has finished.

Selector: @drawn

Function parameters:

Information about the event.

Object structure:

Default Value: null

Cannot be used in themes.

A function that is executed when a user drills up or down.

Selector: @drill

Function parameters:

Information about the event.

Object structure:

Default Value: null

Cannot be used in themes.

Although not provided out-of-the-box, the drill down capability is easy to implement using the API methods. Learn how to do this from the drillDown() method description.

View Demo

A function that is executed after the UI component is exported.

Selector: @exported

Function parameters:

Information about the event.

Object structure:

Default Value: null

A function that is executed before the UI component is exported.

Selector: @exporting

Function parameters:

Information about the event.

Object structure:

Name Type Description format

String

The resulting file format. One of PNG, PDF, JPEG, SVG and GIF.

fileName

String

The name of the file to which the UI component is about to be exported.

element

HTMLElement | jQuery

The UI component's container. It is an HTML Element or a jQuery Element when you use jQuery.

component

TreeMap

The UI component's instance.

Default Value: null

A function that is executed before a file with exported UI component is saved to the user's local storage.

Selector: @file-saving

Function parameters:

Information about the event.

Object structure:

Name Type Description format

String

The format of the file to be saved.
Possible Values: 'PNG' | 'PDF' | 'JPEG' | 'SVG' | 'GIF'

fileName

String

The name of the file to be saved.

element

HTMLElement | jQuery

The UI component's container. It is an HTML Element or a jQuery Element when you use jQuery.

data

BLOB

Exported data as a BLOB.

component

TreeMap

The UI component's instance.

cancel

Boolean

Allows you to prevent file saving.

Default Value: null

A function that is executed after the pointer enters or leaves a node.

Selector: @hover-changed

Function parameters:

Information about the event.

Object structure:

Default Value: null

Cannot be used in themes.

To identify whether the pointer has entered or left the node, call the node's isHovered() method. To identify whether the node is a single tile or a group of tiles, use the node's isLeaf() method.

A function that is executed when an error or warning occurs.

Selector: @incident-occurred

Function parameters:

Information about the event.

Object structure:

Default Value: null

The UI component notifies you of errors and warnings by passing messages to the browser console. Each message contains the incident's ID, a brief description, and a link to the Errors and Warnings section where further information about this incident can be found.

The onIncidentOccurred function allows you to handle errors and warnings the way you require. The object passed to it contains the target field. This field provides information about the occurred incident and contains the following properties:

A function used in JavaScript frameworks to save the UI component instance.

Selector: @initialized

Function parameters:

Information about the event.

Object structure:

Default Value: null

Angular
<dx-tree-map ...
    (onInitialized)="saveInstance($event)">
</dx-tree-map>
import { Component } from "@angular/core";
import TreeMap from "devextreme/ui/data_grid";
// ...
export class AppComponent {
    treeMapInstance: TreeMap;
    saveInstance (e) {
        this.treeMapInstance = e.component;
    }
}
Vue

App.vue (Composition API)

<template>
    <div>
        <DxTreeMap ...
            @initialized="saveInstance">
        </DxTreeMap>
    </div>
</template>

<script>
import DxTreeMap from 'devextreme-vue/tree-map';

export default {
    components: {
        DxTreeMap
    },
    data: function() {
        return {
            treeMapInstance: null
        };
    },
    methods: {
        saveInstance: function(e) {
            this.treeMapInstance = e.component;
        }
    }
};
</script>
<template>
    <div>
        <DxTreeMap ...
            @initialized="saveInstance">
        </DxTreeMap>
    </div>
</template>

<script setup>
import DxTreeMap from 'devextreme-vue/tree-map';

let treeMapInstance = null;

const saveInstance = (e) => {
    treeMapInstance = e.component;
}
</script>
React
import TreeMap from 'devextreme-react/tree-map';

class App extends React.Component {
    constructor(props) {
        super(props);

        this.saveInstance = this.saveInstance.bind(this);
    }

    saveInstance(e) {
        this.treeMapInstance = e.component;
    }

    render() {
        return (
            <div>
                <TreeMap onInitialized={this.saveInstance} />
            </div>
        );
    }
}
See Also jQuery Angular Vue React

A function that is executed only once, after the nodes are initialized.

Selector: @nodes-initialized

Function parameters:

Information about the event.

Object structure:

Default Value: null

Cannot be used in themes.

Use this function to change the node structure. The root node is available via the root field of the function's parameter. Using the root node's getAllNodes(), getAllChildren() and getChild(index) methods, you can access any other node.

A function that is executed before the nodes are displayed and each time the collection of active nodes is changed.

Selector: @nodes-rendering

Function parameters:

Information about the event.

Object structure:

Name Type Description component

TreeMap

The UI component's instance.

element

HTMLElement | jQuery

The UI component's container. It is an HTML Element or a jQuery Element when you use jQuery.

node

TreeMap Node

In most cases, the root node. When drilling down, the node of the highest displayed level.
Described in the Node section.

Default Value: null

Cannot be used in themes.

A function that is executed after a UI component property is changed.

Selector: @option-changed

Function parameters:

Information about the event.

Object structure:

Name Type Description value any

The modified property's new value.

previousValue any

The UI component's previous value.

name

String

The modified property if it belongs to the first level. Otherwise, the first-level property it is nested into.

fullName

String

The path to the modified property that includes all parent properties.

element

HTMLElement | jQuery

The UI component's container. It is an HTML Element or a jQuery Element when you use jQuery.

component

TreeMap

The UI component's instance.

Default Value: null

The following example shows how to subscribe to component property changes:

jQuery
$(function() {
    $("#treeMapContainer").dxTreeMap({
        // ...
        onOptionChanged: function(e) {
            if(e.name === "changedProperty") {
                // handle the property change here
            }
        }
    });
});
Angular
<dx-tree-map ...
    (onOptionChanged)="handlePropertyChange($event)"> 
</dx-tree-map>
import { Component } from '@angular/core'; 

@Component({ 
    selector: 'app-root', 
    templateUrl: './app.component.html', 
    styleUrls: ['./app.component.css'] 
}) 

export class AppComponent { 
    // ...
    handlePropertyChange(e) {
        if(e.name === "changedProperty") { 
            // handle the property change here
        }
    }
}
import { BrowserModule } from '@angular/platform-browser'; 
import { NgModule } from '@angular/core'; 
import { AppComponent } from './app.component'; 
import { DxTreeMapModule } from 'devextreme-angular'; 

@NgModule({ 
    declarations: [ 
        AppComponent 
    ], 
    imports: [ 
        BrowserModule, 
        DxTreeMapModule 
    ], 
    providers: [ ], 
    bootstrap: [AppComponent] 
}) 

export class AppModule { }  
Vue
<template> 
    <DxTreeMap ...
        @option-changed="handlePropertyChange"
    />            
</template> 

<script>  
import 'devextreme/dist/css/dx.light.css'; 
import DxTreeMap from 'devextreme-vue/tree-map'; 

export default { 
    components: { 
        DxTreeMap
    }, 
    // ...
    methods: { 
        handlePropertyChange: function(e) {
            if(e.name === "changedProperty") {
                // handle the property change here
            }
        }
    } 
} 
</script> 
React
import React from 'react';  
import 'devextreme/dist/css/dx.light.css'; 

import TreeMap from 'devextreme-react/tree-map'; 

const handlePropertyChange = (e) => {
    if(e.name === "changedProperty") {
        // handle the property change here
    }
}

export default function App() { 
    return ( 
        <TreeMap ...
            onOptionChanged={handlePropertyChange}
        />        
    ); 
} 

A function that is executed when a node is selected or selection is canceled.

Selector: @selection-changed

Function parameters:

Information about the event.

Object structure:

Default Value: null

Cannot be used in themes.

To identify whether the selection has been applied or canceled, call the node's isSelected() method. To identify whether the clicked node is a single tile or a group of tiles, use the node's isLeaf() method.

Specifies the name of the data source field that provides parent IDs for items. Applies to plain data sources only.

Selector: parent-field

Default Value: undefined

In certain cases, you may have a plain data source that implies a hierarchical structure. For example, the following code declares a data source that, despite being plain, can be rearranged into a hierarchy of two groups with two items in each.

var treeMapOptions = {
    // ...
    dataSource: [
        // Group 1
        { id: 1, name: 'Fruits'},
        { parent: 1, name: 'Apples', value: 10 },
        { parent: 1, name: 'Oranges', value: 13 },

        // Group 2
        { id: 2, name: 'Vegetables' },
        { parent: 2, name: 'Cucumbers', value: 4 },
        { parent: 2, name: 'Tomatoes', value: 8 }
    ]
};

Note that in this data source, objects that have children have the "id" field whose value is unique. Their children have the "parent" field pointing at the parent's ID. The "id" and "parent" fields can have other names, but in any case they must be assigned to the idField and parentField properties.

var treeMapOptions = {
    // ...
    idField: 'id',
    parentField: 'parent'
};

View Demo

Notifies the UI component that it is embedded into an HTML page that uses a tag modifying the path.

Selector: path-modified

Default Value: false

Cannot be used in themes.

If you place the UI component on a page that uses a tag modifying the path (<base>, <iframe>, etc.), some of the UI component elements may get mixed up or disappear. To solve this problem, set the pathModified property to true.

See Also

Specifies whether to redraw the UI component when the size of the container changes or a mobile device rotates.

Selector: redraw-on-resize

Default Value: true

Cannot be used in themes.

When this property is set to true, the UI component will be redrawn automatically in case the size of its container changes.

Switches the UI component to a right-to-left representation.

Selector: rtl-enabled

Default Value: false

Cannot be used in themes.

When this property is set to true, the UI component text flows from right to left, and the layout of elements is reversed. To switch the entire application/site to the right-to-left representation, assign true to the rtlEnabled field of the object passed to the DevExpress.config(config) method.

DevExpress.config({
    rtlEnabled: true
});

In a right-to-left representation, SVG elements have the

direction

attribute with the

rtl

value. This might cause problems when rendering left-to-right texts. Use this property if you have only right-to-left texts.

Specifies whether a single or multiple nodes can be in the selected state simultaneously.

Selector: selection-mode

Default Value: undefined

In a single mode, only one node can be in the selected state at one moment. When the user selects another node, the formerly selected node becomes unselected. In a multiple mode, any number of nodes can be in the selected state.

To implement selection, assign the following or similar callback function to the onClick property.

var treeMapOptions = {
    // ...
    onClick: function (e) {
        e.node.select(!e.node.isSelected());
    }    
};

When entering the selected state, a tile or a group of tiles changes its appearance. You can configure it using the group | selectionStyle and tile.selectionStyle objects.

To control the selection feature in code, use the isSelected, select(state) and clearSelection() methods. In addition, you can perform certain actions when a node enters/leaves the selected state. For this purpose, implement the onSelectionChanged event handler.

Specifies the UI component's size in pixels.

Selector: DxSize

Type: viz/core/base_widget:BaseWidgetSize

Default Value: {height: 400, width: 400}

You can specify a custom width and height for the component:

Fixed Relative Assign values to the size object's height and width properties or specify a container for the component. Specify a container for the component. The component occupies the container area.

The size object has priority over the container.

jQuery
$(function() {
    $("#treeMapContainer").dxTreeMap({
        // ...
        size: {
            height: 300,
            width: 600
        }
    });
});
Angular
<dx-tree-map ... >
    <dxo-size
        [height]="300"
        [width]="600">
    </dxo-size>
</dx-tree-map>
import { Component } from '@angular/core';

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.css']
})
export class AppComponent {
    // ...
}
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

import { DxTreeMapModule } from 'devextreme-angular';

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        DxTreeMapModule
    ],
    providers: [ ],
    bootstrap: [AppComponent]
})
export class AppModule { }
Vue
<template>
    <DxTreeMap ... >
        <DxSize
            :height="300"
            :width="600"
        />
    </DxTreeMap>
</template>

<script>

import DxTreeMap, {
    DxSize
} from 'devextreme-vue/tree-map';

export default {
    components: {
        DxTreeMap,
        DxSize
    },
    // ...
}
</script>
React
import React from 'react';

import TreeMap, {
    Size
} from 'devextreme-react/tree-map';

class App extends React.Component {
    render() {
        return (
            <TreeMap ... >
                <Size
                    height={300}
                    width={600}
                />
            </TreeMap>
        );
    }
}
export default App;

Alternatively, you can use CSS to style the UI component's container:

jQuery
$(function() {
    $("#treeMap").dxTreeMap({
        // ...
    });
});
#treeMap {
    width: 85%;
    height: 70%;
}
Angular
<dx-tree-map ...
    id="treeMap">
</dx-tree-map>
#treeMap {
    width: 85%;
    height: 70%;
}
Vue
<template>
    <DxTreeMap ...
        id="treeMap">
    </DxTreeMap>
</template>

<script>
import DxTreeMap from 'devextreme-vue/tree-map';

export default {
    components: {
        DxTreeMap
    },
    // ...
}
</script>

<style>
#treeMap {
    width: 85%;
    height: 70%;
}
</style>
React
import React from 'react';

import TreeMap from 'devextreme-react/tree-map';

class App extends React.Component {
    render() {
        return (
            <TreeMap ...
                id="treeMap">
            </TreeMap>
        );
    }
}
export default App;
#treeMap {
    width: 85%;
    height: 70%;
}

Sets the name of the theme the UI component uses.

Default Value: 'generic.light'

A theme is a UI component configuration that gives the UI component a distinctive appearance. You can use one of the predefined themes or create a custom one. Changing the property values in the UI component's configuration object overrides the theme's corresponding values.

Configures tiles.

A tile is a rectangle representing a node that has no children in the current context. Several tiles can be collected into a group if the data source implies a hierarchical structure.

The following list provides an overview of tiles' features that you can configure using the tile object.

An object assigned to the tile field configures all tiles in the UI component. To customize a specific tile, pass a similar object to the customize(options) method of the node represented by the tile.

Configures the UI component's title.

Selector: DxTitle

Type: viz/core/base_widget:BaseWidgetTitle

The UI component's title is a short text that usually indicates what is visualized. If you need to specify the title's text only, assign it directly to the title property. Otherwise, set this property to an object with the text and other fields specified.

The title can be accompanied by a subtitle elaborating on the visualized subject using the title.subtitle object.

Specifies the name of the data source field that provides values for tiles.

Selector: value-field

Default Value: 'value'

See Also Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4