# stk-table-vue **Repository Path**: japlus/stk-table-vue ## Basic Information - **Project Name**: stk-table-vue - **Description**: virtual scroll table vue - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 14 - **Forks**: 3 - **Created**: 2023-12-07 - **Last Updated**: 2026-09-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: Web, Vue, table ## README

Stk Table Vue

Stk Table Vue(Sticky Table) is a high-performance virtual scrolling table component based on Vue 3 / Vue 2.7. Smooth performance with tens of thousands of rows. Designed for real-time data display with built-in highlighting and animation effects. - Vue 3 & Vue 2.7 support - Virtual scrolling (X & Y axis) - CSS `sticky` based fixed columns & fixed header - Multi-level header with horizontal virtual scroll - Tree table & expandable rows - Area selection with keyboard navigation - Cell highlighting with Animation API - Built-in custom cells: Filter, Editable, Checkbox, Number, Change - Column resize, header drag, row drag - Merge cells (virtual mode, huge rowspan / colspan supported) - Custom scrollbar - Sortable & filterable - Theme support (dark / light) - CSS variables for easy customization - Based on native `` element - Zero third-party runtime dependencies ## Documentation ### [Stk Table Vue Official](https://ja-plus.github.io/stk-table-vue/) ### [Stk Table React Official](https://ja-plus.github.io/stk-table-react/) ### [Stk Table Svelte Official](https://ja-plus.github.io/stk-table-svelte/) ### [Stk Table Solid Official](https://ja-plus.github.io/stk-table-solid/) ## 🤖 For AI assistants 如果你是通过 AI 编码助手(Claude Code / Cursor / Copilot / Qoder 等)接入本库: 1. **先读 [`llms.txt`](./llms.txt)**(已随 npm 包发布,位于 `node_modules/stk-table-vue/llms.txt`)—— props / 列配置 / emits / slots / 实例方法速查,外加「约束与坑」与自检清单,其版本号与本包严格一致。 2. 不要靠阅读 `src/StkTable/StkTable.vue` 或 `lib/*.js` 反推 API。 3. 需要更细的说明时,抓取[文档站](https://ja-plus.github.io/stk-table-vue/)对应**单页**的 `.md` 镜像(`llms.txt` 末尾有主题 → URL 索引)。请勿抓取 `llms-full.txt`(全站合并,约 590KB)。 4. 类型权威定义:`lib/src/StkTable/types/index.d.ts`(含中文 JSDoc,hover 即可看到)。 想让 AI 助手无需提醒就能用上这份速查表,在你项目的 `AGENTS.md`(或 `.cursor/rules/`、`.claude/skills/`)加一行指针即可: ```markdown 本项目使用 stk-table-vue。写表格代码前先读 node_modules/stk-table-vue/llms.txt,不要从源码反推 API。 ``` ## Repo: - [Github](https://github.com/ja-plus/stk-table-vue) - [Gitee](https://gitee.com/japlus/stk-table-vue) ## Demo [Online Demo in stackblitz](https://stackblitz.com/edit/vitejs-vite-ad91hh?file=src%2FDemo%2Findex.vue) ## Usage > npm install stk-table-vue ```html ``` ### Vue2.7 Usage [Vue2.7 Usage](https://ja-plus.github.io/stk-table-vue/main/start/vue2-usage.html) ## API * [Props](https://ja-plus.github.io/stk-table-vue/main/api/table-props.html) * [Emits](https://ja-plus.github.io/stk-table-vue/main/api/emits.html) * [Slots](https://ja-plus.github.io/stk-table-vue/main/api/slots.html) * [Expose](https://ja-plus.github.io/stk-table-vue/main/api/expose.html) * [StkTableColumn: Define column type](https://ja-plus.github.io/stk-table-vue/main/api/stk-table-column.html) * [Highlight: setHighlightDimCell & setHighlightDimRow](https://ja-plus.github.io/stk-table-vue/main/api/expose.html#sethighlightdimcell) ### Example ```vue ``` ## Compare Compare performance with other vue table [vue-virtual-table-benchmark](https://github.com/ja-plus/vue-virtual-table-benchmark) [Benchmark Result Page](https://ja-plus.github.io/vue-virtual-table-benchmark/perf-report.html) ## Changelog [CHANGELOG](CHANGELOG.md) ## License [MIT](LICENSE)