WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
[Plugin WP-Table Reloaded] Wide Table, Scroll Option (4 posts)

  1. geoffreygordon
    Member
    Posted 2 years ago #

    Hi Tobias

    Lets say you have over 15 columns wide. You only want to show the 5 main ones, but have the option to expand the column if they want to see the rest of the detail. How do you set this up using Wp-Table Reloaded.

    Idea's have seen, but not sure how to apply or where to put the coding:

    1) Horizontal Scroll
    http://www.datatables.net/release-datatables/examples/basic_init/scroll_x.html

    2)Details for Hidden row
    http://www.datatables.net/release-datatables/examples/api/row_details.html

    Is there a way to apply one of these, or is there a better way?

    http://wordpress.org/extend/plugins/wp-table-reloaded/

  2. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    yes, what you post are good methods for this. However, using them directly with WP-Table Reloaded is not that easy.

    The best way would be to use WP-Table Reloaded just as the provider of the HTML code of your table and then to manually include those features. This requires some minor code developing, but you can simply follow the instructions and examples on the DataTables website.

    Regards,
    Tobias

  3. geoffreygordon
    Member
    Posted 2 years ago #

    Hi Tobias

    Forgive my ignorance I am normally quite good with these things, but I have been searching that site for the better part of my day and I am still confused.

    they just have a snippet of jquery, no mention where to paste it or use it.

  4. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    that needs to be used in the HTML source code of the page. It should be enough to paste it below the table (here, the Shortcode). Additionally, you will need to manually load the corresponding files, by adding them to the head of the page (for example by using the HiFi plugin http://wordpress.org/extend/plugins/hifi/).

    To get a better understanding of where the code should be located (in relation to the table HTML), I suggest to take a look at the source code of the Example pages on the DataTables website.

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic