API Reference

@univerjs-pro/docs-table

Enhanced table model integration for Univer Docs.

TypeScript
import { UniverDocsTablePlugin } from '@univerjs-pro/docs-table'univer.registerPlugin(UniverDocsTablePlugin, {})

Entry Points

  • Facade: @univerjs-pro/docs-table/facade

IUniverDocsTableConfig

TypeScript
export interface IUniverDocsTableConfig {}

Whole-table alignment

DocsTableSetTableAlignCommand sets an existing Traditional document table's align property. Its parameters are { unitId, tableId, value }, where value is TableAlignmentType.START, CENTER, or END from @univerjs/core. It supports undo/redo and saving; it does not change cell text alignment. Invalid targets, disabled documents, and Modern documents return false; setting the existing alignment returns true without a change. See the command example.

How is this guide?

© 2026 DreamNum Co., Ltd.