/**----------------------------------------------------------------------------------------- * Copyright © 2024 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import type { TreeListComponent } from "../treelist.component"; /** * Arguments for the [`edit`](slug:api_treelist_treelistcomponent#toc-edit) event. */ export interface EditEvent { /** * The data item. */ dataItem: any; /** * Indicates if the data item is new or existing. */ isNew: boolean; /** * The `TreeListComponent` instance. */ sender: TreeListComponent; }