WordPress.org

Support

Support » Plugins and Hacks » [Resolved] way to set Table Content toggle to default 'unchecked'?

[Resolved] way to set Table Content toggle to default 'unchecked'?

  • ncurrier
    Member

    @ncurrier

    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TobiasBg
    Participant

    @tobiasbg

    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

    Plugin Author TobiasBg
    Participant

    @tobiasbg

    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

    ncurrier
    Member

    @ncurrier

    Many thanks. Great work.

    Plugin Author TobiasBg
    Participant

    @tobiasbg

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] way to set Table Content toggle to default 'unchecked'?’ is closed to new replies.