Title: Slow data loading =&gt; Deferred rendering
Last modified: August 20, 2016

---

# Slow data loading => Deferred rendering

 *  Resolved [LugaGuga](https://wordpress.org/support/users/lugaguga/)
 * (@lugaguga)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/slow-data-loading-deferred-rendering/)
 * Hi Tobias
 * Hope you are well.
 * I have the same problem like others, with a lot of data to load, it slows down
   performance.
 * But I think I found a solution in the script you are using: **Deferred rendering**
   seems to speed up loading the table, as it shows only the part of the table which
   will be displayed.
 * _“Make sure you aren’t initialising the table in a display:none element
    2. If
   you enable scrolling again, then make sure you also use Scroller and deferred
   rendering: [http://datatables.net/release-datatables/extras/Scroller/index.html](http://datatables.net/release-datatables/extras/Scroller/index.html)
 * 3. If you enable pagination, make sure you enable deferred rendering
 * See also [http://datatables.net/faqs#speed&#8221](http://datatables.net/faqs#speed&#8221);
 * “bDeferRender
    Hide details Deferred rendering can provide DataTables with a 
   huge speed boost when you are using an Ajax or JS data source for the table. 
   This option, when set to true, will cause DataTables to defer the creation of
   the table elements for each row until they are needed for a draw – saving a significant
   amount of time.”
 * **This would be the ultimate solution**
    [http://datatables.net/release-datatables/extras/Scroller/index.html](http://datatables.net/release-datatables/extras/Scroller/index.html)
   A table with 2500 rows x 5 columns = 12’500 cells loads in milliseconds!
 * Ans this is the initalisation code:
    _$(document).ready(function() { var oTable
   = $(‘#example’).dataTable( { “sScrollY”: “200px”, “sAjaxSource”: “media/data/
   2500.txt”, “sDom”: “frtiS”, “bDeferRender”: true } ); } ); This would be soooo
   great!!!! 🙂
 * Best regards,
 * Luigi
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/slow-data-loading-deferred-rendering/#post-3416997)
 * Hi Luigi,
 * I know, this would be great, but TablePress does currently not support delivering
   its data as an AJAX or JS source to DataTables 🙁
    I just haven’t found a good
   way to implement this. Sorry to disappoint you.
 * Regards,
    Tobias
 *  Thread Starter [LugaGuga](https://wordpress.org/support/users/lugaguga/)
 * (@lugaguga)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/slow-data-loading-deferred-rendering/#post-3417001)
 * Hi Tobias,
 * Oh, I see. I have no idea what is going behind the plugin and hiw it works.
 * As I hear from your answer this would be a great amount of work for you to implement.
   But maybe you will find a solution in the future 😉
 * Regards,
 * Luigi
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/slow-data-loading-deferred-rendering/#post-3417012)
 * Hi,
 * yes, this would require major changes in the internals of the plugin – and I 
   don’t really know how to approach those.
    But yes, this is on my list, and maybe
   I can find a solution in the future 🙂
 * Best wishes,
    Tobias
 *  Thread Starter [LugaGuga](https://wordpress.org/support/users/lugaguga/)
 * (@lugaguga)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/slow-data-loading-deferred-rendering/#post-3417015)
 * Hi,
 * I know that you have put already so much work into it. And changes in the structure
   of a code requires a lot of work, I guess.
 * I am sure you will find a solution. But even w/o the plugin is great, be assured!
 * Kind regards
 * Luigi
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/slow-data-loading-deferred-rendering/#post-3417061)
 * Hi,
 * good to hear that you like the plugin even without this! 🙂
    I’m also hoping 
   that I can find a solution in the future. We’ll see 🙂
 * Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Slow data loading => Deferred rendering’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/slow-data-loading-deferred-rendering/#post-3417061)
 * Status: resolved