• Resolved transitionality

    (@transitionality)


    The way the entire table is downloaded by TablePress does not work in all use cases. Some tables are too large to be downloaded all at once, slowing down the browser, or even causing it to crash. This is especially a problem in netbooks, Atom-based embedded devices, phones, tablets, and old computers.

    I am requesting an option to lazy load the table data, so that only the entries to be displayed for the current page are downloaded.

    I understand that this would make search-as-you-type nonfunctional, but that’s a necessary tradeoff in this case. Submitted search can still work.

    https://ww.wp.xz.cn/plugins/tablepress/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    You are right, loading the full table is not always ideal, but unfortunately, it’s the only possibility right now. Having said that, I’m already working on making other loading mechanism possible. The DataTables JS library (that TablePress uses for search, sorting, etc.) can also work with AJAX requests, so that’s something that I’ll be working on for a future version.

    Regards,
    Tobias

    This is also something I would benefit from. Glad to know that you’re working on this. 🙂

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    cool! Good to hear that this will be helpful for you as well! 🙂

    Best wishes,
    Tobias

    Hi Tobias,

    Any news about this?

    Thanks!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question.

    Well, kind of… I’m working on finishing TablePress 1.5, which will need another week or two. Barring any unexpected issues, it will come with the update DataTables JS library version, which should then allow us to think about possible ways of getting the table data e.g. via AJAX.

    Regards,
    Tobias

    Hi,
    thanks for this topic! I use tablepress 1.4 with a table of 4709 rows and 9 columns. If I try to mod it from admin panel the browser crash. There aren’t any problems if I view the table from public front-end.

    Thanks a lot for your support.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yeah, I know what you mean, and I have experienced it myself. Unfortunately, I haven’t found a good solution yet, but I hope to be able to make this better when I rewrite the “Edit” screen in the future.

    The problem usually is that the web browser has problems handling the large number of input fields. Some users have achieved a faster performance when using Internet Explorer here (yes, that’s surprising), which presumably has a better management of those input fields.

    A workaround would be to edit the table externally, e.g. in Excel, and then re-importing it from a CSV file, choosing to replace the existing table.

    Regards,
    Tobias

    Is this now possible with the updated TablePress?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no, sorry, this turns out to be more difficult than expected 🙁

    Regards,
    Tobias

    Oh, that’s a shame. 🙁

    Do you know of any quicker way to deal with large tables?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yeah, it’s really unfortunate 🙁

    The only way that I see (it will require custom code) is to use a database and then some PHP code to generate the table, maybe using the server-side handling that the DataTables JS library from https://datatables.net/ offers.

    Regards,
    Tobias

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

The topic ‘Feature Request: Lazy Loading Table Data’ is closed to new replies.