mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
chore: upgrade rc-table (#26973)
* chore: upgrade rc-table * improve doc
This commit is contained in:
parent
442c146e3c
commit
bd62870258
@ -84,7 +84,7 @@ const columns = [
|
|||||||
| getPopupContainer | The render container of dropdowns in table | (triggerNode) => HTMLElement | () => TableHtmlElement | |
|
| getPopupContainer | The render container of dropdowns in table | (triggerNode) => HTMLElement | () => TableHtmlElement | |
|
||||||
| sortDirections | Supported sort way, could be `ascend`, `descend` | Array | \[`ascend`, `descend`] | |
|
| sortDirections | Supported sort way, could be `ascend`, `descend` | Array | \[`ascend`, `descend`] | |
|
||||||
| showSorterTooltip | The header show next sorter direction tooltip | boolean | true | |
|
| showSorterTooltip | The header show next sorter direction tooltip | boolean | true | |
|
||||||
| sticky | Set sticky header and scroll bar | boolean \| `{offsetHeader?: number, offsetScroll?: number}` | - | 4.6.0 |
|
| sticky | Set sticky header and scroll bar | boolean \| `{offsetHeader?: number, offsetScroll?: number, getContainer?: () => HTMLElement}` | - | 4.6.0 (getContainer: 4.7.0) |
|
||||||
|
|
||||||
#### onRow usage
|
#### onRow usage
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ const columns = [
|
|||||||
| getPopupContainer | 设置表格内各类浮层的渲染节点,如筛选菜单 | (triggerNode) => HTMLElement | () => TableHtmlElement | |
|
| getPopupContainer | 设置表格内各类浮层的渲染节点,如筛选菜单 | (triggerNode) => HTMLElement | () => TableHtmlElement | |
|
||||||
| sortDirections | 支持的排序方式,取值为 `ascend` `descend` | Array | \[`ascend`, `descend`] | |
|
| sortDirections | 支持的排序方式,取值为 `ascend` `descend` | Array | \[`ascend`, `descend`] | |
|
||||||
| showSorterTooltip | 表头是否显示下一次排序的 tooltip 提示 | boolean | true | |
|
| showSorterTooltip | 表头是否显示下一次排序的 tooltip 提示 | boolean | true | |
|
||||||
| sticky | 设置粘性头部和滚动条 | boolean \| `{offsetHeader?: number, offsetScroll?: number}` | - | 4.6.0 |
|
| sticky | 设置粘性头部和滚动条 | boolean \| `{offsetHeader?: number, offsetScroll?: number, getContainer?: () => HTMLElement}` | - | 4.6.0 (getContainer: 4.7.0) |
|
||||||
|
|
||||||
#### onRow 用法
|
#### onRow 用法
|
||||||
|
|
||||||
|
@ -607,7 +607,7 @@
|
|||||||
z-index: @table-sticky-zindex;
|
z-index: @table-sticky-zindex;
|
||||||
}
|
}
|
||||||
&-scroll {
|
&-scroll {
|
||||||
position: fixed;
|
position: sticky;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: @table-sticky-zindex;
|
z-index: @table-sticky-zindex;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -140,7 +140,7 @@
|
|||||||
"rc-slider": "~9.5.1",
|
"rc-slider": "~9.5.1",
|
||||||
"rc-steps": "~4.1.0",
|
"rc-steps": "~4.1.0",
|
||||||
"rc-switch": "~3.2.0",
|
"rc-switch": "~3.2.0",
|
||||||
"rc-table": "~7.9.2",
|
"rc-table": "~7.10.0",
|
||||||
"rc-tabs": "~11.6.0",
|
"rc-tabs": "~11.6.0",
|
||||||
"rc-textarea": "~0.3.0",
|
"rc-textarea": "~0.3.0",
|
||||||
"rc-tooltip": "~5.0.0",
|
"rc-tooltip": "~5.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user