ngx-easy-table
Version:
Angular easy table
53 lines (52 loc) • 1.34 kB
TypeScript
export interface Config {
searchEnabled: boolean;
headerEnabled: boolean;
orderEnabled: boolean;
orderEventOnly?: boolean;
paginationEnabled: boolean;
exportEnabled?: boolean;
clickEvent: boolean;
selectRow: boolean;
selectCol: boolean;
selectCell: boolean;
rows: number;
additionalActions: boolean;
serverPagination: boolean;
isLoading: boolean;
detailsTemplate: boolean;
groupRows: boolean;
paginationRangeEnabled: boolean;
collapseAllRows: boolean;
checkboxes: boolean;
radio?: boolean;
resizeColumn: boolean;
fixedColumnWidth: boolean;
horizontalScroll: boolean;
draggable: boolean;
logger: boolean;
showDetailsArrow?: boolean;
showContextMenu?: boolean;
persistState?: boolean;
paginationMaxSize?: number;
threeWaySort?: boolean;
columnReorder?: boolean;
rowReorder?: boolean;
infiniteScroll?: boolean;
infiniteScrollThrottleTime?: number;
tableLayout: {
style: STYLE | string | null;
theme: THEME | string | null;
borderless: boolean | null;
hover: boolean | null;
striped: boolean | null;
};
}
export declare enum STYLE {
TINY = "tiny",
BIG = "big",
NORMAL = "normal"
}
export declare enum THEME {
LIGHT = "light",
DARK = "dark"
}