diff --git a/uui-core/src/types/dataSources.ts b/uui-core/src/types/dataSources.ts index d849763074..c53a668633 100644 --- a/uui-core/src/types/dataSources.ts +++ b/uui-core/src/types/dataSources.ts @@ -214,7 +214,15 @@ export type IDataSourceView = { getSelectedRows(range?: VirtualListRange): DataRowProps[]; getSelectedRowsCount(): number; reload(): void; + /** + * Activates IDataSourceView. + * After view activation, it becomes able to listen to updates. + */ activate(): void; + /** + * Deactivates IDataSourceView. + * After view deactivation, it becomes impossible to listen to updates. + */ deactivate(): void; loadData(): void; clearAllChecked(): void;