{"id":47245969,"url":"https://github.com/aimerthyr/virtual-table","last_synced_at":"2026-04-26T06:01:01.289Z","repository":{"id":341311542,"uuid":"1169352897","full_name":"aimerthyr/virtual-table","owner":"aimerthyr","description":"基于 Vue 3、TanStack Table 和 TanStack Virtual 的高性能虚拟滚动表格","archived":false,"fork":false,"pushed_at":"2026-04-26T04:01:30.000Z","size":937,"stargazers_count":23,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-26T05:29:18.698Z","etag":null,"topics":["table","tanstack-table","virtual-scroll","virtualization","vue3"],"latest_commit_sha":null,"homepage":"https://aimerthyr.github.io/virtual-table/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aimerthyr.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-28T15:02:34.000Z","updated_at":"2026-04-26T04:00:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/aimerthyr/virtual-table","commit_stats":null,"previous_names":["aimerthyr/virtual-table"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/aimerthyr/virtual-table","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimerthyr%2Fvirtual-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimerthyr%2Fvirtual-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimerthyr%2Fvirtual-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimerthyr%2Fvirtual-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aimerthyr","download_url":"https://codeload.github.com/aimerthyr/virtual-table/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimerthyr%2Fvirtual-table/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32287398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"online","status_checked_at":"2026-04-26T02:00:05.962Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["table","tanstack-table","virtual-scroll","virtualization","vue3"],"created_at":"2026-03-14T06:10:54.725Z","updated_at":"2026-04-26T06:01:01.283Z","avatar_url":"https://github.com/aimerthyr.png","language":"Vue","readme":"# @aimerthyr/virtual-table\n\nEnglish | [简体中文](./README.md)\n\nA high-performance virtualized table component for Vue 3, built on TanStack Table and TanStack Virtual.\n\n## Overview\n\n`@aimerthyr/virtual-table` is designed for medium-to-large datasets. It provides virtual scrolling, sorting state, filtering state, pagination, tree data, expandable rows, row selection, sticky headers, pinned columns, column resizing, and TypeScript-friendly extension points.\n\n## Features\n\n- Virtual scrolling for large datasets\n- Sorting / filtering / pagination\n- Tree data / expandable rows / row selection\n- Sticky header / pinned columns / column resizing\n- Custom cell / filter / pagination / theme via slots and props\n- Built with Vue 3 Composition API + TypeScript\n- Powered by TanStack Table + TanStack Virtual\n\n## Website\n\nOnline demo:\n[https://aimerthyr.github.io/virtual-table/](https://aimerthyr.github.io/virtual-table/)\n\n## Install\n\n```bash\n# pnpm\npnpm add @aimerthyr/virtual-table\n\n# npm\nnpm install @aimerthyr/virtual-table\n\n# yarn\nyarn add @aimerthyr/virtual-table\n```\n\n## Requirements\n\n- `vue \u003e= 3.5.0`\n\n## Quick Start\n\n```ts\n// Import styles in main.ts\nimport '@aimerthyr/virtual-table/virtual-table.css'\n```\n\n```vue\n\u003cscript setup lang=\"ts\"\u003e\nimport { ref } from 'vue'\nimport VTable, { type VTableColumn } from '@aimerthyr/virtual-table'\nimport '@aimerthyr/virtual-table/virtual-table.css'\n\nconst data = ref([\n  { id: 1, name: 'Alice', age: 28, address: 'Beijing' },\n  { id: 2, name: 'Bob', age: 32, address: 'Shanghai' },\n  { id: 3, name: 'Carol', age: 25, address: 'Guangzhou' },\n])\n\nconst columns: VTableColumn[] = [\n  { columnKey: 'id', columnHeader: 'ID', columnWidth: 80 },\n  { columnKey: 'name', columnHeader: 'Name', columnWidth: 120, columnEnableFilter: true },\n  { columnKey: 'age', columnHeader: 'Age', columnWidth: 100, columnEnableSort: true },\n  { columnKey: 'address', columnHeader: 'Address' },\n]\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cVTable :data=\"data\" :columns=\"columns\" :row-height=\"44\" bordered /\u003e\n\u003c/template\u003e\n```\n\n## Import\n\n```ts\nimport VTable from '@aimerthyr/virtual-table'\n```\n\nOr:\n\n```ts\nimport { VTable } from '@aimerthyr/virtual-table'\n```\n\n## CDN Usage\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/@aimerthyr/virtual-table/dist/virtual-table.css\" /\u003e\n\u003cscript src=\"https://unpkg.com/vue@3/dist/vue.global.prod.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://unpkg.com/@aimerthyr/virtual-table/dist/index.umd.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n  const VTable = window.VirtualTable.default || window.VirtualTable\n\u003c/script\u003e\n```\n\n## Documentation\n\n- Website: [https://aimerthyr.github.io/virtual-table/](https://aimerthyr.github.io/virtual-table/)\n- Chinese README: [./README.md](./README.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimerthyr%2Fvirtual-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimerthyr%2Fvirtual-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimerthyr%2Fvirtual-table/lists"}