Interface: GridEditorProps
Properties
columns?
optional
columns:GridColumns
表格列配置
Defined in
packages/ui/types/components/grid-editor/types.d.ts:8
dialogProps?
optional
dialogProps:Record
<string
,any
>
弹窗配置
Defined in
packages/ui/types/components/grid-editor/types.d.ts:44
formatter()?
optional
formatter: (model
) =>any
[]
model数据转换为表格数据
Parameters
model
any
Returns
any
[]
Defined in
packages/ui/types/components/grid-editor/types.d.ts:18
gridProps?
optional
gridProps:Record
<string
,any
>
表格其他配置
Defined in
packages/ui/types/components/grid-editor/types.d.ts:40
minus?
optional
minus:boolean
显示删行按钮
Defined in
packages/ui/types/components/grid-editor/types.d.ts:36
modelValue?
optional
modelValue:any
表格数据
Defined in
packages/ui/types/components/grid-editor/types.d.ts:12
plus?
optional
plus:boolean
显示增行按钮
Defined in
packages/ui/types/components/grid-editor/types.d.ts:32
rules?
optional
rules:EditRules
<VxeTableDataRow
>
表格验证规则
Defined in
packages/ui/types/components/grid-editor/types.d.ts:28
title?
optional
title:string
Defined in
packages/ui/types/components/grid-editor/types.d.ts:4
valueFormatter()?
optional
valueFormatter: (rows
) =>any
表格数据转换为model数据
Parameters
rows
any
Returns
any
Defined in
packages/ui/types/components/grid-editor/types.d.ts:24