data-table loading and empty data text
See original GitHub issueBug, feature request, or proposal:
feature request
there is a common usage showing text to tell apart loading or empty data. currently it’s complex to do with md-table
it will be much simplify to have a direct API.
<md-table
loading="Loading data..." // before dataSource emit any result.
empty="No result to show" // dataSource emitted a empty array.
>
or
<md-table>
<md-table-loading><p>a complex html text for loading</p></md-table-loading>
<md-table-empty><p>yet another complex html text</p></md-table-empty>
</md-table>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:17
- Comments:7 (1 by maintainers)
Top Results From Across the Web
How to show empty data message in Datatables
If you want to customize the message that being shown on empty table use this: $('#example').dataTable( { "oLanguage": { "sEmptyTable": "My Custom Message ......
Read more >How can I edit/change the text of "No data available in table"
When the table returns empty rows, I would like to change the default text displayed i.e.,"No data available in table" into something like ......
Read more >lightning-datatable - documentation - Salesforce Developers
The default data type for a column is text . Object values passed into a text type column are displayed as an empty...
Read more >v-data-table API - Vuetify
If true and no items are provided, then a loading text will be shown. #loading-text. string. '$vuetify.dataIterator.loadingText'. Text shown when loading is ...
Read more >showOverlay of ui.datatable, Methods Webix Docs
Webix Documentation: Methods of ui.datatable. ... Loading Screen · Adding Overlay Text. Details. Good for "Loading" and "No data" notifications.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Check out this example to see what it would look like to include loading, using a simple div next to the table. https://plnkr.co/edit/VAvjp7t5jqtUKfHv4ogM?p=preview
Since the table is focused on the rows (not the header or paginator, or any other surrounding elements), its already available to the user to implement something similar to
<md-table-loading>
which can be showed with an*ngIf
Hey @andrewseguin, would it be possible to update the plunker so that the
Expression has changed after it was checked
error isn’t thrown when updating the isLoading property?