Components.ModelsTableRowSortingCell Class
Sort-row cell used within models-table/row-sorting.
<ModelsTable @data={{data}} @columns={{columns}} as |MT|>
<MT.Table as |Table|>
<Table.Header as |Header|>
<Header.RowSorting as |RS|>
{{#each MT.visibleProcessedColumns as |column|}}
<RS.RowSortingCell @column={{column}} />
{{/each}}
</Header.RowSorting>
{{! ... }}
</Table.Header>
{{! ... }}
</MT.Table>
{{! .... }}
</ModelsTable>
If column.componentForSortCell
is provided it is yielded with next properties and actions:
<ModelsTable @data={{data}} @columns={{columns}} as |MT|>
<MT.Table as |Table|>
<Table.Header as |Header|>
<Header.RowSorting as |RS|>
{{#each MT.visibleProcessedColumns as |column|}}
<RS.RowSortingCell @column={{column}} as |RowSortingCellContent|>
<RowSortingCellContent/>
</RS.RowSortingCell>
{{/each}}
</Header.RowSorting>
{{! ... }}
</Table.Header>
{{! ... }}
</MT.Table>
{{! .... }}
</ModelsTable>
Item Index
Properties
Properties
Events
collapseAllRows
Closure action ModelsTable.collapseAllRows
expandAllRows
Closure action ModelsTable.expandAllRows
sort
Closure action ModelsTable.sort
toggleAllSelection
Closure action ModelsTable.toggleAllSelection