• Resolved Sarah

    (@sarah-judge)


    Hi Tobias,

    I am attempting to use TablePress with FooTable and can’t see where I’m supposed to insert the code FooTable requires for hiding columns, for example:

    <th>Gene</th>
    <th data-sort-ignore=”true” data-type=”numeric” data-hide=”phone, tablet”>MIM Gene</th>
    <th data-hide=”phone, tablet”>Related Disorder</th>
    <th data-hide=”all”>Other Cancers/Tumor Sites</th>
    <th data-hide=”all”>Gene Description</th>

    is being used on this table: http://imgur.com/1zGGCbc

    That is what I’m trying to accomplish for a table using TablePress, which currently looks like this: http://imgur.com/Z9nvLli&1zGGCbc#0

    Thanks,
    Sarah

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Sorry, but it’s not really possible to use TablePress and FooTable at the same time. They are similar and use the same JS library in the background, but they use different initialization codes.
    However, most of this should be possible with a TablePress Extension that is described here a little bit: http://wordpress.org/support/topic/how-to-expand-tablepress-row?replies=24#post-4187213

    Regards,
    Tobias

    Thread Starter Sarah

    (@sarah-judge)

    Hi Tobias,

    Thank you for the quick response. I see what you mean, that’s a shame. It’s odd as there is the option to click “automatically attach FooTable to all tables you create using TablePress” within the FooTable plugin.

    Have a nice weekend,
    Sarah

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Sarah,

    that option will basically add the basic JS functions to a TablePress table. It’s however not possible to fine tune or adjust those tables using those attributes in the HTML code of the table.
    Most setting for the DataTables JS library can however be changed using the “Custom Commands” textfield on the “Edit” screen of a table in TablePress. Those commands can for example come from the DataTables documentation at http://legacy.datatables.net/usage/columns

    Regards,
    Tobias

    Hi Tobias,

    as an other possibility instead of using FooTable to make TablePress responsive I found this plugin useful called – Magic Liquidizer Responsive Table – and it works prefect together I think.

    Alex

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Alex,

    thanks for sharing this! Yes, this plugin should also work in making a table responsive.
    I’m not sure that it uses the best technical approach (it recreates a table with other HTML elements) though, and you will lose features like sorting and searching in that table.

    Regards,
    Tobias

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

The topic ‘Using TablePress with FooTable’ is closed to new replies.