@syncfusion/ej2-gantt
Version:
Essential JS 2 Gantt Component
31 lines (30 loc) • 832 B
TypeScript
import { ChildProperty } from '@syncfusion/ej2-base';
/**
* Defines the mapping properties to extract resource details from the resource collection.
*/
export declare class ResourceFields extends ChildProperty<ResourceFields> {
/**
* Specifies the field to map the ID of a resource from the resource collection.
*
* @default null
*/
id: string;
/**
* Specifies the field to map the name of the resource from the resource collection.
*
* @default null
*/
name: string;
/**
* Specifies the field to map the unit of the resource from the resource collection.
*
* @default null
*/
unit: string;
/**
* Specifies the field to map the group of the resource from the resource collection.
*
* @default null
*/
group: string;
}