@univerjs/sheets-sort adds the core sorting model, commands, and services for Univer Sheets.
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/sheets-sort |
UniverSheetsSort |
No | No | Yes | No |
pnpm add @univerjs/sheets-sort
# or
npm install @univerjs/sheets-sortStart with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import { UniverSheetsSortPlugin } from '@univerjs/sheets-sort';
univer.registerPlugin(UniverSheetsSortPlugin);Use this package with @univerjs/sheets-sort-ui when users need sorting menus and panels.
- Import
@univerjs/sheets-sort/facadewhen using this package through Univer Facade APIs.