• Resolved sesselschwitzer

    (@sesselschwitzer)


    Hello,

    I want to export tables, edit the files offline and import them.

    The problem:
    – CSV and HTML are easy to edit but do not mark hidden cols/rows
    – JSON has marked cols/rows but it’s hard to edit (e.g. move rows)

    My idea/question:
    HTML would be perfect because it is very easy to edit. Is it possible to extend TablePress to export/import html files with additional classes like “hide-column” and “hide-row” (see below) to hide some cols/rows? This would remember hidden parts.

    <table>
        <thead>
            <tr>
                <th class="hide-column">Name</th>
                <th>Gender</th>
                <th>Age</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Foo</td>
                <td>male</td>
                <td>27</td>
            </tr>
            <tr class="hide-row">
                <td>Bar</td>
                <td>male</td>
                <td>32</td>
            </tr>
            ....

    Cheers
    Sascha
    https://wordpress.org/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, I’ll have to disappoint you here 🙁
    Importing HTML files including CSS classes is not possible at the moment, and unfortunately, I don’t see a way to implement this easily.

    Note that importing and replacing does keep the information about hidden rows/columns. So, if you replace the exported tables with a modified CSV/HTML file, the information about hidden rows/columns will be the same.

    Regards,
    Tobias

    Thread Starter sesselschwitzer

    (@sesselschwitzer)

    Hello Tobias,

    thank you for the fast answer. I will try with CSV/HTML.

    By the way:
    TablePress and its extensions are great. The website of our museum is running perfect. THANKS!!!

    🙂

    Cheers
    Sascha

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Import/Export table including "hidden property" columns/rows’ is closed to new replies.