|
@ -58,6 +58,7 @@ export class Init { |
|
|
return []; |
|
|
return []; |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
selectableIf: { type: Function, default: undefined }, // 数据行可选规则函数,不配置都可选,配置后根据返回的布尔结果判定是否可选
|
|
|
appendRows: { |
|
|
appendRows: { |
|
|
// 表格追加行,添加到当前表格数据行尾,可添加多行,支持跨行跨列配置,用于添加合计或者额外信息。
|
|
|
// 表格追加行,添加到当前表格数据行尾,可添加多行,支持跨行跨列配置,用于添加合计或者额外信息。
|
|
|
type: Array, |
|
|
type: Array, |
|
@ -161,6 +162,31 @@ export class Init { |
|
|
default: undefined, |
|
|
default: undefined, |
|
|
}, |
|
|
}, |
|
|
// 作为form中的组件使用----end
|
|
|
// 作为form中的组件使用----end
|
|
|
|
|
|
onRowClick: { |
|
|
|
|
|
type: Function, |
|
|
|
|
|
default: undefined, |
|
|
|
|
|
}, |
|
|
|
|
|
/** |
|
|
|
|
|
* 用户自定义双击函数 |
|
|
|
|
|
*/ |
|
|
|
|
|
onRowDbClick: { |
|
|
|
|
|
type: Function, |
|
|
|
|
|
default: undefined, |
|
|
|
|
|
}, |
|
|
|
|
|
/** |
|
|
|
|
|
* 用户自定义数据勾选函数 |
|
|
|
|
|
*/ |
|
|
|
|
|
onUpdateTicked: { |
|
|
|
|
|
type: Function, |
|
|
|
|
|
default: undefined, |
|
|
|
|
|
}, |
|
|
|
|
|
/** |
|
|
|
|
|
* 用户自定义拖拽回调函数 |
|
|
|
|
|
*/ |
|
|
|
|
|
onAfterDragAndDrop: { |
|
|
|
|
|
type: Function, |
|
|
|
|
|
default: undefined, |
|
|
|
|
|
}, |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|