Components.ModelsTableColumnsDropdown Class
Dropdown with list of table's columns used within models-table.
It allows to toggle visibility for column sets or single column.
Columns that should not be hidden must have property canBeHidden
set to false
.
Usage example:
{{#models-table data=data columns=columns as |mt|}}
{{mt.columns-dropdown}}
{{! .... }}
{{/models-table}}
Item Index
Properties
Properties
Events
hideAllColumns
Closure action ModelsTable.actions.hideAllColumns
restoreDefaultVisibility
Closure action ModelsTable.actions.restoreDefaultVisibility
sendAction
Closure action ModelsTable.actions.sendAction
showAllColumns
Closure action ModelsTable.actions.showAllColumns
toggleColumnSet
Closure action ModelsTable.actions.toggleColumnSet
toggleHidden
Closure action ModelsTable.actions.toggleHidden