mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add cell selection summary
Summary: Adds a cell selection summary to grid view that shows either a count or sum of all the selected values. Implementation was done by Dmitry. Test Plan: Browser tests. Reviewers: jarek Reviewed By: jarek Subscribers: paulfitz, dsagal, jarek Differential Revision: https://phab.getgrist.com/D3630
This commit is contained in:
2
app/client/declarations.d.ts
vendored
2
app/client/declarations.d.ts
vendored
@@ -32,6 +32,7 @@ declare module "app/client/components/BaseView" {
|
||||
|
||||
import {Cursor, CursorPos} from 'app/client/components/Cursor';
|
||||
import {GristDoc} from 'app/client/components/GristDoc';
|
||||
import {SelectionSummary} from 'app/client/components/SelectionSummary';
|
||||
import {Disposable} from 'app/client/lib/dispose';
|
||||
import BaseRowModel from "app/client/models/BaseRowModel";
|
||||
import {DataRowModel} from 'app/client/models/DataRowModel';
|
||||
@@ -61,6 +62,7 @@ declare module "app/client/components/BaseView" {
|
||||
public disableEditing: ko.Computed<boolean>;
|
||||
public isTruncated: ko.Observable<boolean>;
|
||||
public tableModel: DataTableModel;
|
||||
public selectionSummary?: SelectionSummary;
|
||||
|
||||
constructor(gristDoc: GristDoc, viewSectionModel: any, options?: {addNewRow?: boolean, isPreview?: boolean});
|
||||
public setCursorPos(cursorPos: CursorPos): void;
|
||||
|
||||
Reference in New Issue
Block a user