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

Bumps [@rc-component/context](https://github.com/react-component/context) from 1.4.0 to 2.0.0. Commits 670c7a8 chore: bump version to 2.0.0 4d731ba chore: move rc-util to @​rc-component/util (#50) 2c5614e test: use codecov/codecov-action (#49) 696c89b chore(deps-dev): bump eslint-plugin-unicorn from...

dependencies
javascript

https://github.com/ant-design/ant-design/issues/54798 #54798 ## Summary by CodeRabbit ## 新功能 * 为表格可展开行新增 `forceRender` 选项,允许根据指定条件强制渲染行的展开内容。支持布尔值或自定义回调函数配置,提供更灵活的展开行控制能力。

在使用 rc-table 时,当列标题包含 id、data-testid 等唯一标识符时,由于 MeasureRow 会复制列标题内容,会导致 DOM 中出现重复的标识符,这违反了 HTML 规范并可能影响测试和可访问性。 fix: https://github.com/ant-design/ant-design/issues/55244 ## Summary by CodeRabbit - **Bug Fixes** - 自动清理度量行 DOM 中的重复 ID 与多余 data-* 属性,避免测试与组件间冲突导致的问题。 - 优化列变更时的布局更新时机,减少闪烁与错位现象。...

fix: https://github.com/ant-design/ant-design/issues/54860 对于以下代码,当0、1列为固定列,且使用 onCell 进行表格列合并时,存在一个问题: ``` //第0列 onCell: (_, index) => ({ colSpan: index === 1 ?0 : 1, }), //第1列 onCell: (_, index) => ({ colSpan: index === 1...

add: The table stripe display can be set. ## Summary by CodeRabbit - **新功能** - 表格组件新增条纹行(striped row)样式支持,通过设置属性可为表格奇数行添加背景色区分。 - 新增条纹表格的示例和相关文档,方便用户了解和使用该功能。 - **样式** - 增加了条纹行的样式规则,提升表格可读性。

背景:当想让nest expandable button垂直居中时,当前没有很好的方式在不影响父元素table-cell的同时,实现expandable居中,因此想要在外层加一个div,方便后续基于这个div进行自定义的扩展。 修改方式:通过在外层新增div的方式,增加样式扩展点,方便样式定制。 ## Summary by CodeRabbit - **样式** - 单元格内容现在被包裹在一个新的内部容器中,便于后续样式和布局调整。

## Summary by CodeRabbit - **新功能** - 新增了“expandedRowSpan”演示页面,展示表格行合并与可展开行的用法示例。 - 新增了“expandedSticky”演示页面,展示带有粘性列和可展开行的表格示例。 - **文档** - 增加了“expandedRowSpan.md”和“expandedSticky.md”文档,包含相关代码演示。 - **修复** - 优化了表格在行合并与行展开同时使用时的表现,确保合并单元格能正确适应展开行。 - 调整展开行宽度计算,提升展开内容显示的准确性。

f修复 forceScroll 方法中当 setTimeout 调用不是最后一次时机时,有可能会出现最后一次的 target.scrollLeft 赋值操作被后续setTimeout中的 target.scrollLeft 赋值给覆盖,由此一来造成表头和表体错位的问题。 ## Summary by CodeRabbit - **Bug Fixes** - 修复了快速多次调用滚动时可能导致滚动位置重复重置的问题,提高了滚动行为的稳定性。

I am developing a React application that needs to generate a PDF document with very specific formatting. The main challenge is to reproduce exactly a formatted table using only ASCII...

I’d like to suggest adding a `maxWidth` property to the column definition in rc-table. This would allow developers to set an upper limit on how wide a column can grow,...