diff --git a/src/components/column/Column.d.ts b/src/components/column/Column.d.ts index 4b99d80d1..6c4989bad 100755 --- a/src/components/column/Column.d.ts +++ b/src/components/column/Column.d.ts @@ -269,6 +269,10 @@ export interface ColumnSlots { * Whether the row is frozen. */ frozenRow: boolean; + /** + * Callback function + */ + editorInitCallback: () => void; }) => VNode[]; /** * Custom header template. @@ -280,7 +284,7 @@ export interface ColumnSlots { */ column: Column; }) => VNode[]; - /** + /** * Custom footer template. * @param {Object} scope - footer slot's params. */ @@ -315,8 +319,16 @@ export interface ColumnSlots { * Whether the row is frozen. */ frozenRow: boolean; + /** + * Callback function + */ + editorSaveCallback: () => void; + /** + * Callback function + */ + editorCancelCallback: () => void; }) => VNode[]; - /** + /** * Custom filter template. * @param {Object} scope - filter slot's params. */ @@ -354,7 +366,7 @@ export interface ColumnSlots { */ filterCallback: () => void; }) => VNode[]; - /** + /** * Custom filter footer template. * @param {Object} scope - filter footer slot's params. */ diff --git a/src/components/datatable/BodyCell.vue b/src/components/datatable/BodyCell.vue index 66cbedf19..cbe4dae01 100755 --- a/src/components/datatable/BodyCell.vue +++ b/src/components/datatable/BodyCell.vue @@ -4,8 +4,8 @@ {{columnProp('header')}} - - + +