@univerjs/sheets-sort
@univerjs/sheets-sort adds the core sorting model, commands, and services for Univer Sheets.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
|---|---|---|---|---|
@univerjs/sheets-sort |
UniverSheetsSort |
No | Yes | Yes |
Installation
pnpm add @univerjs/sheets-sort
# or
npm install @univerjs/sheets-sortKeep all @univerjs/* packages on the same version.
Usage
import EnUS from '@univerjs/sheets-sort/locale/en-US';
import { UniverSheetsSortPlugin } from '@univerjs/sheets-sort';
univer.registerPlugin(UniverSheetsSortPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Integration Notes
Use this package with @univerjs/sheets-sort-ui when users need sorting menus and panels.