I made tables responsive in #1774072: Make Table Widget Responsive. It could be cool to improve that. I came across this today:
http://css-tricks.com/footable-a-jquery-plugin-for-responsive-data-tables/

The task here would be to extend the table views style plugin and allow you to control the correct classes for each field. The default behavior would be virtually unchanged. We would maybe (probably?) want to add these options to the pane for configuration as well.

I'm mainly creating this issue to throw the idea out there and see if it's something panopoly would be interested in, and hopefully to remind myself to circle back and hack this out later.

Comments

dsnopek’s picture

Title: Improve Responsive Tables » Improve responsiveness of Table widgets
Component: Code » Widgets
Issue summary: View changes
Andrew_Mallis’s picture

Bootstrap provides responsive table classes: http://getbootstrap.com/css/#tables-responsive but that is a quick fix.

The table widget doesn't follow other best practices

We did some work on this, but failed to contribute it back upstream properly:
https://github.com/kalamuna/hot_tables

dsnopek’s picture

@Andrew_Mallis: That sounds really cool! It'd be super awesome if we could get some of those improvements upstream.

dsnopek’s picture

While digging into the responsive table functionality, I found a number of bugs and I'm contemplating just removing it and leaving this up to the theme or other special purpose modules. I explain in more detail here:

#2432625: panopoly_widgets makes it hard/impossible to implement responsive tables strategy for the whole site

Please let me know what you think!

dsnopek’s picture

Status: Active » Closed (won't fix)

Closing, since we decided to just remove this functionality.

Here's a new issue about possibly including responsive_tables 2.x in Panopoly instead:

#2450267: Include responsive_tables 2.x in Panopoly profile (but not as a required dependency)