From 721f02819fcb751c06580503f7418c7ebb35ab2d Mon Sep 17 00:00:00 2001 From: Yaroslav Kuznietsov Date: Mon, 11 Dec 2023 14:26:53 +0200 Subject: [PATCH] Updated comments. --- uui-core/src/types/dataSources.ts | 8 ++++++++ 1 file changed, 8 insertions(+) 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;