Components.ModelsTableNoData Class
Table row shown when no data provided to the ModelsTable. Component used within models-table/table-body.
This component is a table-row with a single cell. This cell has a colspan
equal to the shown columns count.
Usage example:
{{#models-table data=data columns=columns as |mt|}}
{{#mt.table as |table|}}
{{#table.body as |body|}}
{{#if body.visibleContent.length}}
{{! ... }}
{{else}}
{{body.no-data}}
{{/if}}
{{/table.header}}
{{! ... }}
{{/mt.table}}
{{! .... }}
{{/models-table}}
Usage with a block context:
{{#models-table data=data columns=columns as |mt|}}
{{#mt.table as |table|}}
{{#table.body as |body|}}
{{#if body.visibleContent.length}}
{{! ... }}
{{else}}
{{#body.no-data as |nd|}}
Any message here
{{/body.no-data}}
{{/if}}
{{/table.header}}
{{! ... }}
{{/mt.table}}
{{! .... }}
{{/models-table}}
Properties
Events
sendAction
Closure action ModelsTable.actions.sendAction