Type Alias: ComputedColumnDefinition<T>
ts
type ComputedColumnDefinition<T> = Omit<VDataTableServerHeader, "value"> & {
compute: (row: Record<string, any>) => T;
kind: ResourcefulFieldType;
render?: (row: Record<string, any>) => string | VNode;
value: string;
};Type Declaration
| Name | Type |
|---|---|
compute() | (row: Record<string, any>) => T |
kind | ResourcefulFieldType |
render()? | (row: Record<string, any>) => string | VNode |
value | string |
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |