src/modules/table/entities/column-sort-changed-output.intf.ts
Definition of the output value of StarkTableColumn sortChanged Output
Properties |
name |
name:
|
Type : string
|
Name of the property that will be the source of the column. |
sortable |
sortable:
|
Type : boolean
|
Whether the column is sortable or not. Default: |
sortDirection |
sortDirection:
|
Type : StarkTableColumnSortingDirection
|
Sorting direction of the column. |
sortPriority |
sortPriority:
|
Type : number
|
Priority of the column. |
import { StarkTableColumnSortingDirection } from "./table-column-sorting-direction.type";
/**
* Definition of the output value of StarkTableColumn sortChanged Output
*/
export interface StarkColumnSortChangedOutput {
/**
* Name of the property that will be the source of the column.
*/
name: string;
/**
* Whether the column is sortable or not.
*
* Default: `true`
*/
sortable: boolean;
/**
* Sorting direction of the column.
*/
sortDirection: StarkTableColumnSortingDirection;
/**
* Priority of the column.
*/
sortPriority: number;
}