WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Edit Table Slow And Unworkable (13 posts)

  1. Neil Haslewood
    Member
    Posted 10 months ago #

    Hi Tobias

    It is quite a long time since I have had to edit a table but now I want to change some of the details. Quite a few of my tables have several hundred rows but I have two which are a bit smaller.

    When I edit a table it is so slow that it is now unworkable. In the past it has been ok. One of the messages that appears is the responsive message (and whether to kill or not). Whatever I decide to click on it just freezes. I have tried editing from two different laptops from two different locations and the effect is the same.

    I hope you can help with this issue. At the moment I can't edit any table. I wonder if I have to start again and have less hidden columns from the imported csv file?

    Regards
    Neil

    http://wordpress.org/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Neil,

    thanks for your post, and sorry for the trouble.

    Yes, unfortunately, something like this can happen with big tables, due to the large number of table input fields on the page. These will cause some browsers to slow down, as they have trouble managing that large number of fields.

    So, yes, having fewer fields on the "Edit" screen will help tremendously. If your table has hidden columns that will never be necessary, it is better to delete them, to reduce the number of fields.

    Also, could you please try this again in a different browser? I recommend Google Chrome here, as that has a very efficient internal engine for this.

    Regards,
    Tobias

  3. Neil Haslewood
    Member
    Posted 10 months ago #

    Hi Tobias

    Ok ... thank you. I will delete a table and recreate with fewer columns to see what the result is. As for Chrome ... this is the browser I was trying it on!

    Regards
    Neil

  4. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Neil,

    yes, that will be the best way to proceed then. Also, make sure that Chrome has as much memory available as possible, i.e. try to close other browser tabs and other programs that are running.

    If that does not help, there's maybe another work around: Instead of editing the tables in TablePress, you could edit them in e.g. Excel and then re-import them into TablePress after making changes, choosing to replace the existing version of the table.

    To make this better in the future, I currently working on reducing the number of input fields by re-modeling the "Edit" screen. I hope to have that available in an upcoming version.

    Regards,
    Tobias

  5. Neil Haslewood
    Member
    Posted 10 months ago #

    Hi Tobias

    Ah ... we are getting there. It is still quite slow but it does eventually get there ... patience is required.

    Please view the following link as this is the one I have changed so far ...

    http://www.peakandfellwalking.co.uk/peaks/peaks-by-category/birketts/

    Two points from the changes I have made ...

    1) The table is now not responsive (it was before) as the columns extend beyond the edges of the webpage.
    2) The new search boxes at the bottom of the table are not in the same colour scheme as the rest of the table and the boxes are blank rather than showing the name of the column.

    Kind Regards
    Neil

  6. Neil Haslewood
    Member
    Posted 10 months ago #

    Hi Tobias

    The above mainly relates to the support question "Search A Column Not The Whole Table"

    Regards
    Neil

  7. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Neil,

    good to hear that you can edit tables at least a little bit better now.

    For the second part, that's for the problem in http://wordpress.org/support/topic/search-a-column-not-the-whole-table , correct?

    This is related to the styling of the new search fields. By default, they have fixed width and the footer uses the default styling of the table. To change that, please add this to the "Custom CSS":

    .tablepress tfoot th {
        background-color: #383838;
        padding: 3px;
    }
    .tablepress tfoot th input {
        width: 100%;
    }

    To give them the column names, just repeat the respective column name in each column's footer cell (my previous post about adding an empty new last row was slightly incorrect here).

    Regards,
    Tobias

  8. Neil Haslewood
    Member
    Posted 10 months ago #

    Hi Tobias

    The styling of the search boxes is now fixed ... thank you.

    The responsive issue has now gone away. All I did was get rid of underscores (which came across from the csv file) in the name titles!

    Regards
    Neil

  9. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Neil,

    very nice! That's great to hear :-)
    Yes, those underscores prevent the browser from doing word-wrapping, which could then lead to this wrong behavior.

    Best wishes,
    Tobias

  10. poeghostal
    Member
    Posted 10 months ago #

    I ran into the slow/unresponsive issue as well - on Chrome. In Internet Explorer it's working fine. Just an FYI, not sure why that would be.

  11. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    yeah, the latest IE has gotten better with this in the last months. So, people who are affected by this should definitely test on different (up-to-date) browsers.

    Regards,
    Tobias

  12. Neil Haslewood
    Member
    Posted 10 months ago #

    Hi Tobias

    Just to confirm IE is lots faster. Thank you poeghostal.

    Regards
    Neil

  13. TobiasBg
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Neil,

    thanks for that. Looks like I'll have to check out other browsers more often :-)

    Best wishes,
    Tobias

Reply

You must log in to post.

About this Plugin

About this Topic

Tags