File

src/modules/table/entities/column-sort-changed-output.intf.ts

Description

Definition of the output value of StarkTableColumn sortChanged Output

Index

Properties

Properties

name
name: string
Type : string

Name of the property that will be the source of the column.

sortable
sortable: boolean
Type : boolean

Whether the column is sortable or not.

Default: true

sortDirection
sortDirection: StarkTableColumnSortingDirection
Type : StarkTableColumnSortingDirection

Sorting direction of the column.

sortPriority
sortPriority: number
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;
}

results matching ""

    No results matching ""