import { CoreModel } from '../core/core.model'; import { IconModel } from '../icon/icon.model'; export declare class DatatableModel extends CoreModel { /** * If to show ngx-datatable footer */ showTableFooter?: boolean; /** * If to show ngx-datatable footer count text */ showTableCount?: boolean; /** * If to show ngx-datatable footer pager */ showTablePager?: boolean; /** * The height of the header in pixels. Type any. Pass a false for no header. Default: 42. */ headerHeight?: any; /** * The height of the footer in pixels. Type any. Pass a false for no footer. Default: 42. */ footerHeight?: any; /** * It is array with rows json objects. */ rows?: any[]; /** * It is height of each row. Can be numeric (nember will be transformed to pixels) or 'auto'. Default: 50. */ rowHeight?: any; /** * The mode which the columns are distributed across the table. Type string. Can be: flex, force, standard. Default: force. */ columnMode?: string; /** * It is rows quontity per page. Type number. Default: 3. */ limit?: number; /** * It is boolean value to use or not row details section. Default: false. */ expandable?: boolean; /** * Means how rows can be expanded at one time. Default: multiple. Can be: multiple or single. */ rowExpand?: string; /** * It is height of row in pixels. Type number. Default: 130. */ detailsHeight?: number; /** * CfIcon component for the row expanding icon. */ expandIcon?: IconModel; /** * CfIcon component for the row collapsing icon. */ collapseIcon?: IconModel; /** * It is boolean value to show or not rows section checkboxes. Default: false. */ selectable?: boolean; /** * Array with sorting objects. Default: []. * Rows can sorted by multipe columns. Each sorting object is a json object with two properties: * prop(property name by which to sort rows) and dir(sort direction. Can be: asc or desc). */ sorted?: any[]; /** * Array for selected items. */ selected?: any[]; /** @hidden * It is the constructor for the Datatable component. It takes the values from component to create the Datatable object. */ constructor(values?: Object); }