@progress/kendo-angular-treelist
Version:
Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.
27 lines (26 loc) • 1.04 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* The interface of the `editService` that can be set to the
* [editing directives]({% slug editing_directives_treelist %}#toc-custom-service) of the TreeList.
*/
export interface EditService {
/**
* The method that is called to create a new item.
*/
create(item: any, parent?: any, id?: any): void;
/**
* The method that is called to update the items for existing item.
*/
update(item: any): void;
/**
* The method that is called to remove existing item.
*/
remove(item: any, parent?: any): void;
/**
* The method that is called to set new values to an item.
*/
assignValues(target: any, source: any): void;
}