mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
releases 4.1.0
This commit is contained in:
@@ -339,54 +339,6 @@
|
||||
"type": "string | (({ $rowindex, column, columnindex, $columnindex }) => any)",
|
||||
"description": "给表头的单元格附加 className"
|
||||
},
|
||||
"vxe-table-colgroup/field": {
|
||||
"type": "string",
|
||||
"description": "列字段名(注:属性层级越深,渲染性能就越差,例如:aa.bb.cc.dd.ee)"
|
||||
},
|
||||
"vxe-table-colgroup/title": {
|
||||
"type": "string",
|
||||
"description": "列标题(支持开启国际化)"
|
||||
},
|
||||
"vxe-table-colgroup/width": {
|
||||
"type": "number | string",
|
||||
"description": "列宽度(如果为空则均匀分配剩余宽度,如果全部列固定了,可能会存在宽屏下不会铺满,可以配合 \"%\" 或者 \"min-width\" 布局)"
|
||||
},
|
||||
"vxe-table-colgroup/min-width": {
|
||||
"type": "number | string",
|
||||
"description": "最小列宽度;会自动将剩余空间按比例分配"
|
||||
},
|
||||
"vxe-table-colgroup/resizable": {
|
||||
"type": "boolean",
|
||||
"description": "列是否允许拖动列宽调整大小"
|
||||
},
|
||||
"vxe-table-colgroup/visible": {
|
||||
"type": "boolean",
|
||||
"description": "默认是否显示"
|
||||
},
|
||||
"vxe-table-colgroup/fixed": {
|
||||
"type": "string",
|
||||
"description": "将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)"
|
||||
},
|
||||
"vxe-table-colgroup/align": {
|
||||
"type": "string",
|
||||
"description": "列对齐方式"
|
||||
},
|
||||
"vxe-table-colgroup/header-align": {
|
||||
"type": "string",
|
||||
"description": "表头列的对齐方式"
|
||||
},
|
||||
"vxe-table-colgroup/show-overflow": {
|
||||
"type": "string | boolean",
|
||||
"description": "当内容过长时显示为省略号"
|
||||
},
|
||||
"vxe-table-colgroup/show-header-overflow": {
|
||||
"type": "string | boolean",
|
||||
"description": "当表头内容过长时显示为省略号"
|
||||
},
|
||||
"vxe-table-colgroup/header-class-name": {
|
||||
"type": "string | (({ $rowindex, column, columnindex, $columnindex }) => any)",
|
||||
"description": "给表头的单元格附加 className"
|
||||
},
|
||||
"vxe-column/type": {
|
||||
"type": "string",
|
||||
"description": "列的类型"
|
||||
@@ -535,154 +487,6 @@
|
||||
"type": "string | number",
|
||||
"description": "自定义列的唯一主键(注:99%的场景不应该设置,操作不正确将导致出现问题)"
|
||||
},
|
||||
"vxe-table-column/type": {
|
||||
"type": "string",
|
||||
"description": "列的类型"
|
||||
},
|
||||
"vxe-table-column/field": {
|
||||
"type": "string",
|
||||
"description": "列字段名(注:属性层级越深,渲染性能就越差,例如:aa.bb.cc.dd.ee)"
|
||||
},
|
||||
"vxe-table-column/title": {
|
||||
"type": "string",
|
||||
"description": "列标题(支持开启国际化)"
|
||||
},
|
||||
"vxe-table-column/width": {
|
||||
"type": "number | string",
|
||||
"description": "列宽度(如果为空则均匀分配剩余宽度,如果全部列固定了,可能会存在宽屏下不会铺满,可以配合 \"%\" 或者 \"min-width\" 布局)"
|
||||
},
|
||||
"vxe-table-column/min-width": {
|
||||
"type": "number | string",
|
||||
"description": "最小列宽度;会自动将剩余空间按比例分配"
|
||||
},
|
||||
"vxe-table-column/resizable": {
|
||||
"type": "boolean",
|
||||
"description": "列是否允许拖动列宽调整大小"
|
||||
},
|
||||
"vxe-table-column/visible": {
|
||||
"type": "boolean",
|
||||
"description": "默认是否显示"
|
||||
},
|
||||
"vxe-table-column/fixed": {
|
||||
"type": "string",
|
||||
"description": "将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)"
|
||||
},
|
||||
"vxe-table-column/align": {
|
||||
"type": "string",
|
||||
"description": "列对齐方式"
|
||||
},
|
||||
"vxe-table-column/header-align": {
|
||||
"type": "string",
|
||||
"description": "表头列的对齐方式"
|
||||
},
|
||||
"vxe-table-column/footer-align": {
|
||||
"type": "string",
|
||||
"description": "表尾列的对齐方式"
|
||||
},
|
||||
"vxe-table-column/show-overflow": {
|
||||
"type": "string | boolean",
|
||||
"description": "当内容过长时显示为省略号"
|
||||
},
|
||||
"vxe-table-column/show-header-overflow": {
|
||||
"type": "string | boolean",
|
||||
"description": "当表头内容过长时显示为省略号"
|
||||
},
|
||||
"vxe-table-column/show-footer-overflow": {
|
||||
"type": "boolean | string",
|
||||
"description": "当表尾内容过长时显示为省略号"
|
||||
},
|
||||
"vxe-table-column/class-name": {
|
||||
"type": "string | (({row, rowindex, $rowindex, column, columnindex, $columnindex}) => any)",
|
||||
"description": "给单元格附加 className"
|
||||
},
|
||||
"vxe-table-column/header-class-name": {
|
||||
"type": "string | (({ $rowindex, column, columnindex, $columnindex }) => any)",
|
||||
"description": "给表头的单元格附加 className"
|
||||
},
|
||||
"vxe-table-column/footer-class-name": {
|
||||
"type": "string | (({ $rowindex, column, columnindex, $columnindex }) => any)",
|
||||
"description": "给表尾的单元格附加 className"
|
||||
},
|
||||
"vxe-table-column/formatter": {
|
||||
"type": "(({ cellvalue, row, column }) => string) | any[] | string",
|
||||
"description": "格式化显示内容"
|
||||
},
|
||||
"vxe-table-column/sortable": {
|
||||
"type": "boolean",
|
||||
"description": "是否允许列排序"
|
||||
},
|
||||
"vxe-table-column/sort-by": {
|
||||
"type": "string | (({ row, column }) => string | number)",
|
||||
"description": "只对 sortable 有效,指定排序的字段(当值 formatter 格式化后,可以设置该字段,使用值进行排序)"
|
||||
},
|
||||
"vxe-table-column/sort-type": {
|
||||
"type": "string",
|
||||
"description": "排序的字段类型,比如字符串转数值等"
|
||||
},
|
||||
"vxe-table-column/filters": {
|
||||
"type": "any[]",
|
||||
"description": "配置筛选条件(注:筛选只能用于列表,如果是树结构则过滤根节点)"
|
||||
},
|
||||
"vxe-table-column/filter-multiple": {
|
||||
"type": "boolean",
|
||||
"description": "只对 filters 有效,筛选是否允许多选"
|
||||
},
|
||||
"vxe-table-column/filter-method": {
|
||||
"type": "({ value, option, cellvalue, row, column }) => boolean",
|
||||
"description": "只对 filters 有效,列的筛选方法,该方法的返回值用来决定该行是否显示"
|
||||
},
|
||||
"vxe-table-column/filter-reset-method": {
|
||||
"type": "({ options, column }) => void",
|
||||
"description": "只对 filters 有效,自定义筛选重置方法"
|
||||
},
|
||||
"vxe-table-column/filter-recover-method": {
|
||||
"type": "({ option, column }) => void",
|
||||
"description": "只对 filters 有效,自定义筛选复原方法(使用自定义筛选时可能会用到)"
|
||||
},
|
||||
"vxe-table-column/filter-render": {
|
||||
"type": "any",
|
||||
"description": "筛选渲染器配置项"
|
||||
},
|
||||
"vxe-table-column/export-method": {
|
||||
"type": "({ row, column }) => string",
|
||||
"description": "自定义单元格数据导出方法,返回自定义的值"
|
||||
},
|
||||
"vxe-table-column/footer-export-method": {
|
||||
"type": "({ items, _columnindex }) => string",
|
||||
"description": "自定义表尾单元格数据导出方法,返回自定义的值"
|
||||
},
|
||||
"vxe-table-column/title-help": {
|
||||
"type": "any",
|
||||
"description": "标题帮助图标配置项"
|
||||
},
|
||||
"vxe-table-column/cell-type": {
|
||||
"type": "string",
|
||||
"description": "只对特定功能有效,单元格值类型(例如:导出数据类型设置)"
|
||||
},
|
||||
"vxe-table-column/cell-render": {
|
||||
"type": "any",
|
||||
"description": "默认的渲染器配置项"
|
||||
},
|
||||
"vxe-table-column/edit-render": {
|
||||
"type": "any",
|
||||
"description": "可编辑渲染器配置项"
|
||||
},
|
||||
"vxe-table-column/content-render": {
|
||||
"type": "any",
|
||||
"description": "内容渲染配置项"
|
||||
},
|
||||
"vxe-table-column/tree-node": {
|
||||
"type": "boolean",
|
||||
"description": "只对 tree-config 配置时有效,指定为树节点"
|
||||
},
|
||||
"vxe-table-column/params": {
|
||||
"type": "any",
|
||||
"description": "额外的参数(可以用来存放一些私有参数)"
|
||||
},
|
||||
"vxe-table-column/col-id": {
|
||||
"type": "string | number",
|
||||
"description": "自定义列的唯一主键(注:99%的场景不应该设置,操作不正确将导致出现问题)"
|
||||
},
|
||||
"vxe-grid/id": {
|
||||
"type": "string",
|
||||
"description": "唯一标识(被某些特定的功能所依赖)"
|
||||
|
||||
@@ -77,9 +77,7 @@
|
||||
],
|
||||
"subtags": [
|
||||
"vxe-colgroup",
|
||||
"vxe-table-colgroup",
|
||||
"vxe-column",
|
||||
"vxe-table-column"
|
||||
"vxe-column"
|
||||
],
|
||||
"description": "基础表格"
|
||||
},
|
||||
@@ -103,26 +101,6 @@
|
||||
],
|
||||
"description": "基础表格 - 分组列"
|
||||
},
|
||||
"vxe-table-colgroup": {
|
||||
"attributes": [
|
||||
"field",
|
||||
"title",
|
||||
"width",
|
||||
"min-width",
|
||||
"resizable",
|
||||
"visible",
|
||||
"fixed",
|
||||
"align",
|
||||
"header-align",
|
||||
"show-overflow",
|
||||
"show-header-overflow",
|
||||
"header-class-name"
|
||||
],
|
||||
"subtags": [
|
||||
"vxe-table-column"
|
||||
],
|
||||
"description": "基础表格 - 分组列"
|
||||
},
|
||||
"vxe-column": {
|
||||
"attributes": [
|
||||
"type",
|
||||
@@ -165,48 +143,6 @@
|
||||
],
|
||||
"description": "基础表格 - 列"
|
||||
},
|
||||
"vxe-table-column": {
|
||||
"attributes": [
|
||||
"type",
|
||||
"field",
|
||||
"title",
|
||||
"width",
|
||||
"min-width",
|
||||
"resizable",
|
||||
"visible",
|
||||
"fixed",
|
||||
"align",
|
||||
"header-align",
|
||||
"footer-align",
|
||||
"show-overflow",
|
||||
"show-header-overflow",
|
||||
"show-footer-overflow",
|
||||
"class-name",
|
||||
"header-class-name",
|
||||
"footer-class-name",
|
||||
"formatter",
|
||||
"sortable",
|
||||
"sort-by",
|
||||
"sort-type",
|
||||
"filters",
|
||||
"filter-multiple",
|
||||
"filter-method",
|
||||
"filter-reset-method",
|
||||
"filter-recover-method",
|
||||
"filter-render",
|
||||
"export-method",
|
||||
"footer-export-method",
|
||||
"title-help",
|
||||
"cell-type",
|
||||
"cell-render",
|
||||
"edit-render",
|
||||
"content-render",
|
||||
"tree-node",
|
||||
"params",
|
||||
"col-id"
|
||||
],
|
||||
"description": "基础表格 - 列"
|
||||
},
|
||||
"vxe-grid": {
|
||||
"attributes": [
|
||||
"id",
|
||||
|
||||
Reference in New Issue
Block a user