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