@univerjs-pro/sheets-pivot
Version:
Univer Sheets Pivot Table
21 lines (20 loc) • 692 B
TypeScript
import { ICommand } from '@univerjs/core';
export interface IRemovePivotFieldCommandParams {
/**
* @property {string} unitId The unit id of workbook which the pivot table belongs to.
*/
unitId: string;
/**
* @property {string} subUnitId The sub unit id of worksheet which the pivot table belongs to.
*/
subUnitId: string;
/**
* @property {string} pivotTableId The pivot table id.
*/
pivotTableId: string;
/**
* @property {string[]} fieldIds The field ids to remove.Which is saved pivot table field ids.
*/
fieldIds: string[];
}
export declare const RemovePivotFieldCommand: ICommand<IRemovePivotFieldCommandParams>;