Forums

WP-Table Reloaded
[resolved] condensing table rows/columns (5 posts)

  1. lutzacca
    Member
    Posted 3 months ago #

    Hi Tobias,

    I am working to put a table/bibliography of a research group together on our web page. It's a pretty simple table, but because it includes all the components of a scientific bibliography, there are abstracts included which are typically much longer than all the other fields. I wonder if there is a way to condense/shorten these fields for visualization purposes which can be expanded by scrolling over/highlighting the particular cell.

    Any help would be appreciated!

    http://andesresearch.org/?page_id=13

    ~ Dave

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

  2. TobiasBg
    Member
    Posted 3 months ago #

    Hi Dave,

    you might want to consider something like http://datatables.net/release-datatables/examples/api/row_details.html , which is done with the DataTables JavaScript library (independent from WP-Table Reloaded).
    Unfortunately, I can't help with integrating it right now, but there should be some more information/instructions here in the forums somewhere.

    Regards,
    Tobias

  3. TobiasBg
    Member
    Posted 3 months ago #

  4. lutzacca
    Member
    Posted 3 months ago #

    Hi Tobias,

    I've been trying to implement the datatables js file, but found a more sensible solution. Instead of having the long abstract column be in a 'details' column, i've just added a column with a link straight to the publication source so that people can go right to the paper itself.

    Since I don't have a background in js, i'll just have to make due with this workaround.

    Thanks for your suggestions,

    ~ Dave

  5. TobiasBg
    Member
    Posted 3 months ago #

    Hi,

    yes, that's probably the best solution then. It will also result in less work when adding a new publication, as you won't have to copy (and possibly reformat) the abstract.

    Best wishes,
    Tobias

Reply

You must log in to post.

About this Plugin

About this Topic