UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

57 lines (54 loc) 2.18 kB
/** * DevExtreme (ui/hierarchical_collection/ui.hierarchical_collection_widget.d.ts) * Version: 21.1.4 * Build date: Mon Jun 21 2021 * * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { UserDefinedElement } from '../../core/element'; import CollectionWidget, { CollectionWidgetOptions } from '../collection/ui.collection_widget.base'; /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please describe your scenario in the following GitHub Issue, and we will suggest a public alternative: {@link https://github.com/DevExpress/DevExtreme/issues/17885|Internal Types}. */ export interface HierarchicalCollectionWidgetOptions<T = HierarchicalCollectionWidget> extends CollectionWidgetOptions<T> { /** * Specifies the name of the data source item field whose value defines whether or not the corresponding UI component item is disabled. */ disabledExpr?: string | Function; /** * Specifies the data field whose values should be displayed. */ displayExpr?: string | ((item: any) => string); /** * */ focusStateEnabled?: boolean; /** * */ hoverStateEnabled?: boolean; /** * Specifies which data field contains nested items. */ itemsExpr?: string | Function; /** * Specifies which data field provides keys for TreeView items. */ keyExpr?: string | Function; /** * Specifies the name of the data source item field whose value defines whether or not the corresponding UI component items is selected. */ selectedExpr?: string | Function; } /** * * @deprecated Attention! This type is for internal purposes only. If you used it previously, please describe your scenario in the following GitHub Issue, and we will suggest a public alternative: {@link https://github.com/DevExpress/DevExtreme/issues/17885|Internal Types}. */ export default class HierarchicalCollectionWidget extends CollectionWidget { constructor(element: UserDefinedElement, options?: HierarchicalCollectionWidgetOptions) }