[Feature Request] Add loading text/slot to data-table
See original GitHub issueProblem to solve
Currently the data-table shows “No data available” when loading - if a response takes a while, a user might ignore the loading progress bar and assume that there is no data to display and leave the page.
Proposed solution
Being able to change the text via a loading-text property would probably be enough to solve this problem.
Currently adding a no-data
slot appears to replace the loading text which is why I suggested possibly adding a loading slot but I think as long as the no-data
slot doesn’t replace the proposed loading-text property while it’s loading then a loading slot probably wouldn’t be needed.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Loading text or icon when data loads. — DataTables forums
Hi, is there any way to add loading icon when data loads in datatable? Because it takes 8 to 10 seconds to load...
Read more >jQuery DataTables: How to show loading indicator during ...
There are some tricks to show loading indicator when retrieving data via Ajax request using jQuery DataTables. Recommended way to reload ...
Read more >v-textarea API - Vuetify
name type default
#append‑icon string undefined
#append‑outer‑icon string undefined
#auto‑grow boolean false
Read more >vuejs/vue - Gitter
I want to write this into the Vue components methods to have access to some variables and Vuex store… delueg.
Read more >Spine Toolbox Documentation
In the Project dock widget, click on the 'add tool template button' () just below the ... The format for requesting new features...
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
I’ve tested the following scenarios:
When a data table is loading…
When a data table has no data…
When a data table has both the loading and no-data prop or slot…
Confirmed & Closed. Good Job Everyone. 👍
Couldn’t you in your no-data slot use a data prop that you update in your data getting function? Like: https://codepen.io/blalan/pen/PdNypE Or Even: https://codepen.io/blalan/pen/xaVyyE