resources

Configures task resources.

Type:

Object

Default Value: null

View Demo

You can add resources to a project and assign them to tasks. Resources can be people responsible for tasks, equipment, materials, etc. The Gantt displays resources as labels on the right of the tasks.

DevExtreme Gantt Chart - Resources

See Also

dataSource

Binds the widget to the data source, which contains resources.

Default Value: null
jQuery
index.js
$(function() {
    $("#gantt").dxGantt({
        resources: {
            dataSource: resources
        },
        //...
    });
});

keyExpr

Specifies the data field that provides keys for resources.

Type:

String

|

Function

Default Value: 'id'

textExpr

Specifies the data field that provides resource texts.

Type:

String

|

Function

Default Value: 'text'