catng
Version:
Angular Dynamic Form Input Component
40 lines (39 loc) • 1.14 kB
TypeScript
import { ListButtons } from "./list-button.model";
import { Column } from "./column.model";
export declare class ListOptions<T> {
dataList?: T[];
tableSize?: string;
columns?: Column[];
columnsRowExpansion?: Column[];
filterColumns?: string[];
tableName?: string;
dataKey?: string;
pageSize?: number;
loading?: boolean;
scrollable?: boolean;
scrollHeight?: string;
formMode?: string;
isHeader?: boolean;
isRowIndexVisible?: boolean;
isRowExpansion?: boolean;
rowIndexText?: string;
isRowClick?: boolean;
downloadExcel?: boolean;
isSearchableFilter?: boolean;
isLazyLoading?: boolean;
print?: boolean;
isComplexSearchEnabled?: boolean;
isSearchEnabled?: boolean;
isRefreshButton?: boolean;
isAddButton?: boolean;
isActionsButton?: boolean;
customButtons?: ListButtons[];
styleClass?: string;
isRowEdit?: boolean;
showFooter?: boolean;
groupRowsBy?: string;
rowGroupMode?: RowGroupMode;
isReOrderableColumns?: boolean;
selectionMode?: string;
}
export type RowGroupMode = "subheader" | "rowspan" | undefined;