table
table copied to clipboard
React Table
Currently, if we set the value of `scroll.y` but the height of all items in the table does not exceed `scroll.y`, There is still an empty scroll bar  I...
How about setting `ColumnType['dataIndex']` to the key of `RecordType`?
修复ant design 中 table 固定列,表格无数据时,右侧边框不显示的问题 fix: https://github.com/ant-design/ant-design/issues/39115
看起来可以回归到现在的 Table,我拾到拾到 Update: ref https://github.com/react-component/table/pull/842
### 🤔 This is a ... - [x] Bug fix ### 🔗 Related issue link https://github.com/ant-design/ant-design/issues/35562 ### 💡 Background and solution 1. extracted the logic of calculating sticky columns' width...
Bumps [react-dnd](https://github.com/react-dnd/react-dnd) from 2.6.0 to 16.0.1. Release notes Sourced from react-dnd's releases. v16.0.0 Major Packages are now ESM-Only (https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) Node 18 Support v15.1.2 The utility packages @react-dnd/invariant, @react-dnd/shallowequal, and @react-dnd/asap...
特性说明: 目的:在拖拽排序,并且数据是树形结构(带有 children)时,拿到**某行对应到该层级的索引**,简化拖拽后的数组元素移动操作
Fixes https://github.com/react-component/table/issues/435 https://github.com/react-component/table/issues/587 https://github.com/react-component/table/pull/532 https://github.com/react-component/table/pull/717 ## Summary by CodeRabbit - 重构 - 优化内部 TypeScript 类型辅助以提升复杂数据索引的类型推断与安全性,无运行时改动。 - 其他 - 无公开 API 变更;现有功能、界面与用法不受影响。
Addresses this issue: react-component#714
```ts if (fixHeader) { scrollYStyle = { overflowY: 'scroll', maxHeight: scroll.y, }; } ``` if set `maxHeight`,when height of content is smaller than 'scroll.y',`pagination` will placed at the bottom of...