Replies: 14 comments 1 reply
-
Row operation:it is recommended to slide the button left and right |
Beta Was this translation helpful? Give feedback.
-
open i can select the paging mode:1.paging bar, 2.pull up refresh |
Beta Was this translation helpful? Give feedback.
-
通过 virtual 开启虚拟滚动 |
Beta Was this translation helpful? Give feedback.
-
可以提供一个开放的 API,允许开发者在 table 组件自定义添加 Checkbox 多选按钮。这种方法会使组件更具灵活性和可扩展性,满足不同业务需求。 |
Beta Was this translation helpful? Give feedback.
-
增加表格内容点击可编辑,表头支持筛选,排序等 |
Beta Was this translation helpful? Give feedback.
-
拖拽排序,列和行都可以拖拽排序 |
Beta Was this translation helpful? Give feedback.
-
表格行/列可以合并 |
Beta Was this translation helpful? Give feedback.
-
可编辑单元格和行 |
Beta Was this translation helpful? Give feedback.
-
当表格内容较多不能一次性完全展示时可以展开 |
Beta Was this translation helpful? Give feedback.
-
混合固定列,滚动到一定距离进行堆叠 |
Beta Was this translation helpful? Give feedback.
-
可以嵌套子表格展示每行数据更详细的信息 |
Beta Was this translation helpful? Give feedback.
-
预计API
BaseTable Props
Array<BaseTableCol<T>>
Array<T>
GlobalConfigProvider
。通用类型定义Array<number>
maxHeight
true
会显示默认加载中样式,可以通过 Function 和 插槽 自定义加载状态呈现内容和样式。值为false
则会取消加载状态。通用类型定义Partial<LoadingProps>
,Loading API Documents。详细类型定义data
中的字段。如果是字段嵌套多层,可以设置形如item.a.id
的方法table-layout: auto
模式下的固定列显示。tableContentWidth
内容宽度的值必须大于表格可见宽度BaseTable Events
(context: BaseTableCellEventContext<T>)
interface BaseTableCellEventContext<T> { row: T; col: BaseTableCol; rowIndex: number; colIndex: number;}
(context: RowEventContext<T>)
interface RowEventContext<T> { row: T; index: number;}
(params: { e: WheelEvent })
BaseTableCol
serial-number
表示当前列为「序号」列ellipsisTitle = false
。值为
true
,则超出省略浮层默认显示单元格内容ellipsis
。值为
true
,则超出省略的浮层默认显示表头全部内容min-width
到<col>
元素table
元素时,浏览器根据宽度设置情况自动分配宽度;当列宽总和大于table
元素,表现为定宽。可以同时调整table
元素的宽度来达到自己想要的效果设计稿
Beta Was this translation helpful? Give feedback.
All reactions