1 line
26 KiB
JSON
1 line
26 KiB
JSON
|
|
{"vxe-table/id":{"type":"string","description":"唯一标识(被某些特定的功能所依赖)"},"vxe-table/data":{"type":"any[]","description":"表格数据(与 loadData 行为一致,更新数据是不会重置状态)"},"vxe-table/height":{"type":"number | string","description":"表格的高度;支持铺满父容器或者固定高度,如果设置 auto 为铺满父容器(如果设置为 auto,则必须确保存在父节点且不允许存在相邻元素)"},"vxe-table/min-height":{"type":"number | string","description":"表格最小高度"},"vxe-table/max-height":{"type":"number | string","description":"表格的最大高度"},"vxe-table/auto-resize":{"type":"boolean","description":"自动监听父元素的变化去重新计算表格(对于父元素可能存在动态变化、显示隐藏的容器中、列宽异常等场景中的可能会用到)"},"vxe-table/sync-resize":{"type":"boolean | string | number","description":"自动跟随某个属性的变化去重新计算表格,和手动调用 recalculate 方法是一样的效果(对于通过某个属性来控制显示/隐藏切换时可能会用到)"},"vxe-table/resizable":{"type":"boolean","description":"已废弃,被 column-config.resizable 替换"},"vxe-table/stripe":{"type":"boolean","description":"是否带有斑马纹(需要注意的是,在可编辑表格场景下,临时插入的数据不会有斑马纹样式)"},"vxe-table/border":{"type":"boolean | string","description":"是否带有边框"},"vxe-table/padding":{"type":"boolean"},"vxe-table/round":{"type":"boolean","description":"是否为圆角边框"},"vxe-table/size":{"type":"string","description":"表格的尺寸"},"vxe-table/loading":{"type":"boolean","description":"表格是否显示加载中"},"vxe-table/align":{"type":"string","description":"所有的列对齐方式"},"vxe-table/header-align":{"type":"string","description":"所有的表头列的对齐方式"},"vxe-table/footer-align":{"type":"string","description":"所有的表尾列的对齐方式"},"vxe-table/show-header":{"type":"boolean","description":"是否显示表头"},"vxe-table/highlight-current-row":{"type":"boolean","description":"已废弃,被 row-config.isCurrent 替换"},"vxe-table/highlight-hover-row":{"type":"boolean","description":"已废弃,被 row-config.isHover 替换"},"vxe-table/highlight-current-column":{"type":"boolean","description":"已废弃,被 column-config.isCurrent 替换"},"vxe-table/highlight-hover-column":{"type":"boolean","description":"已废弃,被 column-config.isHover 替换"},"vxe-table/row-class-name":{"type":"string | (({ row, rowindex, $rowindex }) => any)","description":"给行附加 className"},"vxe-table/cell-class-name":{"type":"string | (({ row, rowindex, $rowindex, column, columnindex, $columnindex }) => any)","description":"给单元格附加 className"},"vxe-table/header-row-class-name":{"type":"string | (({ $rowindex }) => any)","description":"给表头的行附加 className"},"vxe-table/header-cell-class-name":{"type":"string | (({ $rowindex, column, columnindex, $columnindex }) => any)","description":"给表头的单元格附加 className"},"vxe-table/footer-row-class-name":{"type":"string | (({ $rowindex }) => any)","description":"给表尾的行附加 className"},"vxe-table/footer-cell-class-name":{"type":"string | (({ $rowindex, column, columnindex, $columnindex }) => any)","description":"给表尾的单元格附加 className"},"vxe-table/cell-style":{"type":"any | (({ row, rowindex, $rowindex, column, columnindex, $columnindex }) => any)","description":"给单元格附加样式"},"vxe-table/header-cell-style":{"type":"any | (({ $rowindex, column, columnindex, $columnindex }) => any)","description":"给表头单元格附加样式"},"vxe-table/footer-cell-style":{"type":"any | (({ $rowindex, column, columnindex, $columnindex }) => any)","description":"给表尾单元格附加样式"},"vxe-table/row-style":{"type":"any | (({ row, rowindex, $rowindex }) => any)","description":"给行附加样式,也可以是函数"},"vxe-table/header-row-style":{"type":"any
|