The length of the total number of data. Defaulted to 0.
@Input() loading: boolean
Whether the table loading is ended. Defaulted to false.
@Input() trackBy: TrackByFunction<any>
Tracking function that will be used to check the differences in data changes.
@Input() columnResizable: boolean
Whether the column can be resized. Defaulted to false.
Name
Description
@Input() pageOnFront: boolean
Whether paging the data just on front end. Defaulted to true.
@Input() showPaginator: boolean
Whether show the paginator. Defaulted to true.
@Input() pageDisabled: boolean
Whether the paginator is disabled. Defaulted to false.
@Input() showFirstLastButtons: boolean
Whether to show the first/last buttons UI to the user. Defaulted to true.
@Input() pageIndex: number
The zero-based page index of the displayed list of items. Defaulted to 0.
@Input() pageSize: number
Number of items to display on a page. By default set to 10.
@Input() pageSizeOptions: number[]
The set of provided page size options to display to the user. By default set to [10, 50, 100]
@Input() hidePageSize: boolean
Whether hide the pagesize. Defaulted to false.
@Output() page: EventEmitter<PageEvent>
Event emitted when the paginator changes the page size or page index.
@Input() paginationTemplate: TemplateRef<any>
The pagination template.
Name
Description
@Input() sortOnFront: boolean
Whether sort data just on front end. Defaulted to true.
@Input() sortActive: string
The id of the most recently sorted MatSortable.
@Input() sortDirection: SortDirection
The sort direction of the currently active MatSortable.
@Input() sortDisableClear: boolean
Whether to disable the user from clearing the sort by finishing the sort direction cycle. May be overriden by the column's disable clear definition. Defaulted to false.
@Input() sortDisabled: boolean
Whether the grid sort is disabled. Defaulted to false.
@Input() sortStart: 'asc' \| 'desc'
The direction to set when an MatSortable is initially sorted. May be overriden by the column's sort definition. Defaulted to asc.
@Output() sortChange: EventEmitter<sort>
Event emitted when the user changes either the active sort or sort direction.
Name
Description
@Input() expandable: boolean
Whether the row can be expanded. Defaulted to false.
@Input() expansionTemplate: TemplateRef<any>
The template of expandable row.
@Output() expansionChange: EventEmitter<any>
Event emitted when the user toggle the expandable row.
Name
Description
@Input() multiSelectable: boolean
Whether the user can selecte multiple row or cell. Defaulted to true.
@Input() rowSelectable: boolean
Whether the row can be selectable. Defaulted to false.
@Input() rowSelected: any[]
The row selected items default. Defaulted to [].
@Input() hideRowSelectionCheckbox: boolean
Whether hide the row selection checkbox. Defaulted to false.