@syncfusion/ej2-grids
Version:
Feature-rich JavaScript datagrid (datatable) control with built-in support for editing, filtering, grouping, paging, sorting, and exporting to Excel.
35 lines (34 loc) • 888 B
TypeScript
import { SortDirection } from '../base/enum';
/**
* AriaService
*
* @hidden
*/
export declare class AriaService {
setOptions(target: HTMLElement, options: IAriaOptions<boolean>): void;
setExpand(target: HTMLElement, expand: boolean): void;
setSort(target: HTMLElement, direction?: SortDirection | 'none' | boolean): void;
setBusy(target: HTMLElement, isBusy: boolean): void;
setGrabbed(target: HTMLElement, isGrabbed: boolean, remove?: boolean): void;
setDropTarget(target: HTMLElement, isTarget: boolean): void;
}
/**
* @hidden
*/
export interface IAriaOptions<T> {
role?: string;
datarole?: string;
expand?: T;
collapse?: T;
selected?: T;
multiselectable?: T;
sort?: T | 'none';
busy?: T;
invalid?: T;
grabbed?: T;
dropeffect?: T;
haspopup?: T;
level?: T;
colcount?: string;
rowcount?: string;
}