From 393a65328019ea429d4f0c13f73e0d88cec4f33d Mon Sep 17 00:00:00 2001 From: naumov Date: Fri, 1 Mar 2024 12:31:30 +0100 Subject: [PATCH] CB-4779 grid perfomance --- .../Actions/ResultSet/ResultSetViewAction.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/packages/plugin-data-viewer/src/DatabaseDataModel/Actions/ResultSet/ResultSetViewAction.ts b/webapp/packages/plugin-data-viewer/src/DatabaseDataModel/Actions/ResultSet/ResultSetViewAction.ts index 986085afdf..20c0051994 100644 --- a/webapp/packages/plugin-data-viewer/src/DatabaseDataModel/Actions/ResultSet/ResultSetViewAction.ts +++ b/webapp/packages/plugin-data-viewer/src/DatabaseDataModel/Actions/ResultSet/ResultSetViewAction.ts @@ -5,7 +5,7 @@ * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. */ -import { action, makeObservable, observable } from 'mobx'; +import { action, computed, makeObservable, observable } from 'mobx'; import { DataTypeLogicalOperation, ResultDataFormat, SqlResultColumn } from '@cloudbeaver/core-sdk'; @@ -55,6 +55,10 @@ export class ResultSetViewAction extends DatabaseDataAction(this, { columnsOrder: observable, setColumnOrder: action, + rows: computed, + rowKeys: computed, + columns: computed, + columnKeys: computed, }); }