Gathering detailed insights and metrics for virtualizedtableforantd4
Gathering detailed insights and metrics for virtualizedtableforantd4
Gathering detailed insights and metrics for virtualizedtableforantd4
Gathering detailed insights and metrics for virtualizedtableforantd4
the virtualized table component for ant design
npm install virtualizedtableforantd4
Typescript
Module System
Node Version
NPM Version
82.7
Supply Chain
82.2
Quality
74.9
Maintenance
100
Vulnerability
100
License
TypeScript (91.03%)
JavaScript (8.49%)
CSS (0.48%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
232 Stars
317 Commits
48 Forks
8 Watchers
6 Branches
8 Contributors
Updated on Jun 04, 2025
Latest Version
1.3.1
Package Id
virtualizedtableforantd4@1.3.1
Unpacked Size
62.42 kB
Size
13.46 kB
File Count
11
NPM Version
8.19.2
Node Version
18.12.1
Published on
Apr 03, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Install
1npm i --save virtualizedtableforantd4
the opts of useVT
(examples)
1interface VtOpts { 2 id?: number | string; 3 /** 4 * @default 5 5 */ 6 overscanRowCount?: number; 7 8 /** 9 * this only needs the scroll.y 10 */ 11 scroll: { 12 y: number | string; 13 }; 14 15 /** 16 * wheel event(only works on native events). 17 */ 18 onScroll?: ({ left, top, isEnd, }: 19 { top: number; left: number; isEnd: boolean }) => void; 20 21 initTop?: number; 22 23 /** 24 * Offset of the table when isEnd becomes true. 25 * @default 0 26 */ 27 offset?: number; 28 29 /** 30 * @default false 31 */ 32 debug?: boolean; 33 34 35 // pass -1 means scroll to the bottom of the table 36 ref?: React.MutableRefObject<{ 37 scrollTo: (y: number) => void; 38 scrollToIndex: (idx: number) => void; 39 }> 40}
Quick start
You need to change your style like following if your Table.size is not default.
1// size={'small'} 2ant-table [vt] > table > .ant-table-tbody > tr > td { 3 padding: 8px; 4}
1import React from 'react'; 2import { Table } from 'antd'; 3import { useVT } from 'virtualizedtableforantd4'; 4 5const [ vt, set_components ] = useVT(() => ({ scroll: { y: 600 } }), []); 6 7<Table 8 scroll={{ y: 600 }} // It's important for using VT!!! DO NOT FORGET!!! 9 components={vt} 10 columns={/*your columns*/} 11 dataSource={/*your data*/} 12/>
Scroll to
Restoring last state
Editable Table
Drag soring
expanded rows & tree-structure has been well supported!
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 2/6 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
21 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More