question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] deferLoading on DataTables

See original GitHub issue

It’s been reported here that on the ListOperation we now have an initial flash of unloaded content, then the loading spinner, then the content loads, which could be improved just by adding deferLoading => false to the DataTables configuration.

It sounds like a good idea if it’s that easy to do. The problem is - I don’t see an initial flash. Do you guys?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pxpmcommented, May 19, 2021

@ericjanofski you can publish the view with: php artisan backpack:publish inc/datatables_logic it will be in your resources/views with vendor path.

If you found a solution that you are happy with and would like to contribute let us know, maybe it’s a solution for backpack core, or could help other people that are annoyed by this “flick”.

Wish you the best, Pedro

0reactions
tabacitucommented, May 3, 2022

Closing as non-priority. Happy to discuss if we have a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

deferLoading - DataTables
deferLoading is used to indicate that deferred loading is required, but it is also used to tell DataTables how many records there are...
Read more >
DataTables example - Deferred loading of data
This automatic Ajax call to get the first page of data can be overridden by using the deferLoading initialisation property. It serves two...
Read more >
DataTables deferred loading with columns option
If you have deferLoading set to positive number along with serverSide: true , it should not request data on the first call, there...
Read more >
[Feature Request] deferLoading on DataTables - - Bountysource
[Feature Request] deferLoading on DataTables ... It's been reported here that on the ListOperation we now have an initial flash of unloaded content,...
Read more >
Datatables.net Deferred Loading of Data using ASP.NET MVC ...
Hope this article helps you in some way on implementing Load on demand functionality in your project. Please leave a comment in case...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found