Update Column.d.ts
parent
bbac350313
commit
0bdd9d0d58
|
@ -642,7 +642,7 @@ export interface ColumnContext {
|
|||
*/
|
||||
export interface ColumnSlots {
|
||||
/**
|
||||
* Custom body template.
|
||||
* Custom body template for DataTable.
|
||||
* @param {Object} scope - body slot's params.
|
||||
*/
|
||||
body(scope: {
|
||||
|
@ -681,6 +681,46 @@ export interface ColumnSlots {
|
|||
*/
|
||||
rowTogglerCallback: (event: Event) => void;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom body template for TreeTable.
|
||||
* @param {Object} scope - body slot's params.
|
||||
*/
|
||||
node(scope: {
|
||||
/**
|
||||
* Row data.
|
||||
*/
|
||||
data: any;
|
||||
/**
|
||||
* Row node data.
|
||||
*/
|
||||
node: any;
|
||||
/**
|
||||
* Column node.
|
||||
*/
|
||||
column: ColumnNode;
|
||||
/**
|
||||
* Column field.
|
||||
*/
|
||||
field: string;
|
||||
/**
|
||||
* Row index.
|
||||
*/
|
||||
index: number;
|
||||
/**
|
||||
* Whether the row is frozen.
|
||||
*/
|
||||
frozenRow: boolean;
|
||||
/**
|
||||
* Editor init callback function
|
||||
* @param {Event} event - Browser event
|
||||
*/
|
||||
editorInitCallback: (event: Event) => void;
|
||||
/**
|
||||
* Row toggler callback unction
|
||||
* @param {Event} event - Browser event
|
||||
*/
|
||||
rowTogglerCallback: (event: Event) => void;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom header template.
|
||||
* @param {Object} scope - header slot's params.
|
||||
|
|
Loading…
Reference in New Issue