Components.ModelsTableTable Class
Table with data used within models-table.
Usage example:
{{#models-table data=data columns=columns as |mt|}}
{{mt.table}}
{{! ... }}
{{/models-table}}
Usage example with a block context:
{{#models-table data=data columns=columns as |mt|}}
{{#mt.table as |table|}}
{{table.header}}
{{table.body}}
{{table.footer}}
{{/mt.table}}
{{/models-table}}
ModelsTableTable yields references to the following contextual components:
- models-table/table-header - table header. Component contains several rows like grouped headers, row with sorting buttons (usually with column titles) and row with filters for each column
- models-table/table-body - table body with data. Component contains current page with a subset or rows
- models-table/table-footer - table footer. It's empty by default
Check own docs for each component to get detailed info.
Item Index
Properties
- allColumnsAreHidden
- collapsedGroupValues
- columnsCount
- currentGroupingPropertyName
- data
- dataGroupOptions
- displayGroupedValueAs
- expandedItems
- groupedArrangedContent
- groupedHeaders
- groupedVisibleContent
- groupedVisibleContentValuesOrder
- groupHeaderCellComponent
- groupingRowComponent
- groupSummaryRowComponent
- noHeaderFilteringAndSorting
- processedColumns
- selectedItems
- showTableFooter
- themeInstance
- useDataGrouping
- useFilteringByColumns
- visibleContent
- visibleProcessedColumns
Properties
collapsedGroupValues
Array
Bound from Components.ModelsTable/_collapsedGroupValues:property
Default: null
groupedVisibleContentValuesOrder
Array
Bound from ModelsTable.groupedVisibleContentValuesOrder
Default: null
noHeaderFilteringAndSorting
Boolean
Bound from ModelsTable.noHeaderFilteringAndSorting
Default: null
Events
clickOnRow
Closure action ModelsTable.actions.clickOnRow
collapseAllRows
Closure action ModelsTable.actions.collapseAllRows
collapseRow
Closure action ModelsTable.actions.collapseRow
doubleClickOnRow
Closure action ModelsTable.actions.doubleClickOnRow
expandAllRows
Closure action ModelsTable.actions.expandAllRows
expandRow
Closure action ModelsTable.actions.expandRow
hoverOnRow
Closure action ModelsTable.actions.hoverOnRow
outRow
Closure action ModelsTable.actions.outRow
sendAction
Closure action ModelsTable.actions.sendAction
sort
Closure action ModelsTable.actions.sort
toggleAllSelection
Closure action ModelsTable.actions.toggleAllSelection
toggleGroupedRows
Closure action ModelsTable.actions.toggleGroupedRows
toggleGroupedRowsExpands
Closure action ModelsTable.actions.toggleGroupedRowsExpands
toggleGroupedRowsSelection
Closure action ModelsTable.actions.toggleGroupedRowsSelection