table icon indicating copy to clipboard operation
table copied to clipboard

React Table

Results 160 table issues
Sort by recently updated
recently updated
newest added

extraRender 中不需要这段计算逻辑。任何场景下也没有超出 end 查找 rowSpan 的情况

fix https://github.com/ant-design/ant-design/issues/49279 虽然不会有位置上的变动,但是这样会展示一下白屏再展示 Empty,体验会好一些。 问题的本质是因为第一次 render 时无法获取到 componentWidth 并展示。componentWidth 是 ResizeObserver 监听后 setComponentWidth 上去的。 或许 ResizeObserver 改用 useLayoutEffect 监听宽度可完美解?

Can we give additional options to scroll smooth to the row? https://github.com/react-component/table/blob/f7ef94ca150534cf0a48e4ad7795a9a00fb867fd/src/Table.tsx#L340

Hi guys, anyone knows how I can customize the table using tailwind?? Just including classnames? Or create a stylesheet for that? Thanks

当开启虚拟滚动时,固定列为按照预期设置阴影效果 原因是虚拟滚动时,触发onInternalScroll事件时传入的currentTarget为virtuallist组件的ref, https://github.com/react-component/table/blob/f968c9edd2b4bb03ed46960fa4b98f527d312f9c/src/Table.tsx#L441-L443 导致内部未正常获取到scrollWidth, clientWidth,拿到的是undefined https://github.com/react-component/table/blob/f968c9edd2b4bb03ed46960fa4b98f527d312f9c/src/Table.tsx#L457-L465 应当优化scrollWidth, clientWidth获取逻辑,虚拟滚动时可以优先从scrollHeaderRef.current获取 https://github.com/react-component/table/blob/f968c9edd2b4bb03ed46960fa4b98f527d312f9c/src/Table.tsx#L457

Hi guys, is there a way to use Table with nextjs SSR? Thanks

正常列表通过监听 scroll 可以实现 onLoadMore,但换成虚拟列表就不行了 ... const tableBody = document.querySelector(".g-table-body"); console.log("tableBody: ", tableBody); if (tableBody) { const scrollListener = (e: any) => { if (tableBody.scrollTop === 0) { onTop?.(e); } if...

说明文档介绍,Column的width,支持数值和字符串,但是不支持"100px"和"100"这两写法。本次pull request,扩展了代码,让Column的width支持"100px"和"100"这两写法。

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.11.1. Release notes Sourced from eslint's releases. v9.11.1 Bug Fixes 20fd916 fix: add @eslint/core, @types/estree, & @types/json-schema deps (#18938) (Nitin Kumar) 2738322 fix: add missing...

dependencies