EditingConfig interface
编辑配置
Signature
typescript
interface EditingConfig1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
Record<string, ColumnEditConfig> | (Optional) 列级编辑器配置(key 为 colKey,未配置的列按 ColumnType 推断默认编辑器) | ||
number[] | (Optional) 受控:正在编辑的行索引 | ||
(info: { rowKey: string; colKey: string; value: any }) => void | (Optional) 编辑值变更通知 | ||
(info: { rowKey: string; colKey: string; value: any }) => void | (Optional) 编辑确认通知 | ||
(index: number) => void | (Optional) 受控:设置编辑行索引 | ||
'click' | 'doubleClick' | (Optional) 进入编辑态的触发方式,默认 'doubleClick' |