Components.ModelsTableFooter Class
Footer block used within models-table.
Usage example:
{{#models-table data=data columns=columns as |mt|}}
{{mt.footer}}
{{! .... }}
{{/models-table}}
Usage example with a block context:
{{#models-table data=data columns=columns as |mt|}}
{{#mt.footer as |footer|}}
{{footer.summary}}
{{footer.size-select}}
{{#if useNumericPagination}}
{{footer.pagination-numeric}}
{{else}}
{{footer.pagination-simple}}
{{/if}}
{{/mt.footer}}
{{/models-table}}
ModelsTableFooter yields references to the following contextual components:
- models-table/summary - component with summary info about table data. It also contains button to clear all filters applied to the table
- models-table/size-select - component with a page sizes dropdown. It allows to select number if records shown on page
- models-table/pagination-numeric - component with a table navigation. It allows to move to the page by its number
- models-table/pagination-simple - component with a table navigation. It allows to move to the first, last, prev and next pages (this four buttons are shown always)
Check own docs for each component to get detailed info.
Item Index
Properties
Events
Properties
Events
clearFilters
Closure action ModelsTable.actions.clearFilters
goToPage
Closure action Components.ModelsTable/actions.goToPage:method
sendAction
Closure action ModelsTable.actions.sendAction