@univerjs-pro/sheets-pivot
Version:
Pivot table integration for Univer Sheets.
40 lines (25 loc) • 1.21 kB
Markdown
# @univerjs-pro/sheets-pivot
[](https://npmjs.com/package/@univerjs-pro/sheets-pivot)
[](https://npmjs.com/package/@univerjs-pro/sheets-pivot)
`@univerjs-pro/sheets-pivot` provides pivot table integration for Univer Sheets.
## Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| `@univerjs-pro/sheets-pivot` | `UniverProSheetsPivot` | No | Yes | Yes |
## Installation
```sh
pnpm add @univerjs-pro/sheets-pivot
# or
npm install @univerjs-pro/sheets-pivot
```
Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
## Usage
```ts
import EnUS from '@univerjs-pro/sheets-pivot/locale/en-US';
import { UniverSheetsPivotTablePlugin } from '@univerjs-pro/sheets-pivot';
univer.registerPlugin(UniverSheetsPivotTablePlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.
```
## Resources
- [Documentation](https://docs.univer.ai/guides/pro)
- [NPM package](https://npmjs.com/package/@univerjs-pro/sheets-pivot)