We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
老用法(已废弃):
<vxe-table-colgroup></vxe-table-colgroup> <vxe-table-column></vxe-table-column>
新用法:
<vxe-column></vxe-column> <vxe-colgroup></vxe-colgroup>
import XEUtils from 'xe-utils' // API 文档 https://vxeui.com/xe-utils/ XEUtils.toDateString(new Date(), 'yyyy-MM-hh')
vxe-table 基础表格:标签方式调用,用于静态列,渲染性能较弱。 vxe-grid 配置式表格:JSON方式调用,全动态方式;集成 vxe-table、vxe-toolbar、vxe-form 、vxe-pager 自定义布局于一体的全功能高性能表格,渲染性能较强。
表格有 3 套索引机制: 行索引:rowIndex、$rowIndex、_rowIndex 列索引:columnIndex、$columnIndex、_columnIndex
row:行数据对象 rowIndex:指向 props.data 中的索引,对应方法 getRowIndex(row) $rowIndex:指向可视区渲染中的行索引,对应方法 getVMRowIndex(row) _rowIndex:指向当前表格数据的索引,对应方法 getVTRowIndex(row) column:列配置对象 columnIndex:指向 props.columns 中的索引,对应方法 getColumnIndex(column) $columnIndex:指向可视区渲染中的列索引,对应方法 getVMColumnIndex(column) _columnIndex:指向当前表格列的索引,对应方法 getVTColumnIndex(column)
查看文档
默认支持原生的 input、select、textarea 可编辑列渲染,也支持 UI 库的 VxeInput、VxeSelect、VxeTextarea 等可编辑列渲染,您可以任意选择使用自行封装的组件或者第三方组件库都是可以集成渲染的
对于这种非常规渲染的的场景,你可以使用 auto-resize 或者 sync-resize 或者在显示完之后手动 调用 recalculate 方法
这是该组件设计原理,任何动态的数据都属于临时数据,不会双向同步 data 属性, 可以通过 data.push 自行去操作数据源,将放弃内部 CRUD 管理行为
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述:2.9.24+ 分组列头支持 vxe-colgroup(旧 vxe-table-colgroup),原先的 vxe-column(旧 vxe-table-column)也正常支持
老用法(已废弃):
新用法:
表格依赖的 xe-utils 工具函数库是否可以单独使用?
关于 table 和 grid 的区别
关于 columnIndex、$columnIndex、_columnIndex、rowIndex、$rowIndex、_rowIndex 的区别?
表格有 3 套索引机制:
行索引:rowIndex、$rowIndex、_rowIndex
列索引:columnIndex、$columnIndex、_columnIndex
表格支持哪些可编辑列渲染?
查看文档
将多个表格放在显示隐藏的 Tab 切换中,会导致列宽错乱?
查看文档
表格动态 insert 或 remove 的数据都不同步 data 吗
查看文档
The text was updated successfully, but these errors were encountered: