WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] way to set Table Content toggle to default 'unchecked'? (5 posts)

  1. ncurrier
    Member
    Posted 1 year ago #

    I'm importing some very large csv tables into WordPress and they import properly but I get browser memory issues and freezing when trying to modify their settings from the table admin panel. One thought, it would be a workaround to have the Table Content toggle in Screen Options set to 'unchecked' as a default, so that the table data doesn't have to be displayed, there are no browser memory issues, and I can monify the table settings. Possible and how?

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

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your question, and sorry for the trouble.

    I see what you are trying to do, but I'm not really sure how we could tackle this. The default state of these "Table Content" box in the "Screen Options" is determined by WordPress. It is possible to change this, but that would require extra code, which is not really nice to do here.

    Instead, maybe this workaround is a possibility, if you don't have to edit those table settings too often:
    Before importing the large table, use the regular "Add Table" function. Then, in that table, set all Table Settings and JS options to what you want to have. Then, use the Import feature and import the large table, and choose to replace the table that you just created. The import process will only replace the data, but keep the settings that you previously set.

    Regards,
    Tobias

  3. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    just a quick note: If you want to use that checkbox in the "Screen Options" (which will hide the "Table Content" for all tables), please make sure to use the latest developer version, as explained in http://wordpress.org/support/topic/working-with-large-tables

    Regards,
    Tobias

  4. ncurrier
    Member
    Posted 1 year ago #

    Many thanks. Great work.

  5. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    no problem, you are very welcome! :-) Good to hear that this helped!

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic