Skip to content

Commit

Permalink
Publish Events Types
Browse files Browse the repository at this point in the history
  • Loading branch information
mpreyskurantov committed Aug 22, 2023
1 parent ca5b3f5 commit 8d00193
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
15 changes: 14 additions & 1 deletion packages/devextreme/js/ui/data_grid.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1035,9 +1035,22 @@ export type RowDraggingRemoveEvent<TRowData = any, TKey = any> = ReducedNativeEv
/** @public */
export type RowDraggingReorderEvent<TRowData = any, TKey = any> = ReducedNativeEventInfo<dxDataGrid<TRowData, TKey>> & RowDraggingEventInfo<TRowData> & DragReorderInfo;

/** @public */
/**
* @docid _ui_data_grid_ColumnButtonClickEvent
* @public
* @type object
* @inherits NativeEventInfo
*/
export type ColumnButtonClickEvent<TRowData = any, TKey = any> = NativeEventInfo<dxDataGrid<TRowData, TKey>, PointerEvent | MouseEvent> & {
/**
* @docid _ui_data_grid_ColumnButtonClickEvent.row
* @type dxDataGridRowObject
*/
row?: Row<TRowData, TKey>;
/**
* @docid _ui_data_grid_ColumnButtonClickEvent.column
* @type dxDataGridColumn
*/
column?: Column<TRowData, TKey>;
};

Expand Down
15 changes: 14 additions & 1 deletion packages/devextreme/js/ui/tree_list.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -824,9 +824,22 @@ export type RowDraggingRemoveEvent<TRowData = any, TKey = any> = ReducedNativeEv
/** @public */
export type RowDraggingReorderEvent<TRowData = any, TKey = any> = ReducedNativeEventInfo<dxTreeList<TRowData, TKey>> & RowDraggingEventInfo<TRowData> & DragReorderInfo;

/** @public */
/**
* @docid _ui_tree_list_ColumnButtonClickEvent
* @public
* @type object
* @inherits NativeEventInfo
*/
export type ColumnButtonClickEvent<TRowData = any, TKey = any> = NativeEventInfo<dxTreeList<TRowData, TKey>, PointerEvent | MouseEvent> & {
/**
* @docid _ui_tree_list_ColumnButtonClickEvent.row
* @type dxTreeListRowObject
*/
row?: Row<TRowData, TKey>;
/**
* @docid _ui_tree_list_ColumnButtonClickEvent.column
* @type dxTreeListColumn
*/
column?: Column<TRowData, TKey>;
};

Expand Down

0 comments on commit 8d00193

Please sign in to comment.