igniteui-react-grids
Version:
Ignite UI React grid components.
33 lines (32 loc) • 994 B
TypeScript
import { IgrColumn } from "./igr-column";
import { SortingDirection } from "./SortingDirection";
/**
* Interface representing a header cell in the grid. It is essentially the blueprint to a header cell object.
* Contains definitions of properties, relevant to the header
*/
export interface IgrHeaderType {
/**
* The column that the header cell represents.
*/
column?: IgrColumn;
/**
* Indicates whether the column is currently sorted.
*/
sorted?: boolean | string;
/**
* Indicates whether the cell can be selected
*/
selectable?: boolean | string;
/**
* Indicates whether the cell is currently selected
*/
selected?: boolean | string;
/**
* Indicates whether the column header is a title cell.
*/
title?: boolean | string;
/**
* Represents the sorting direction of the column (ascending, descending or none).
*/
sortDirection?: SortingDirection | string;
}