You are here

README.txt in Responsive Tables 7

Responsive Tables
=================

Overview
--------

Allows tables to act in a responsive fashion using a [technique designed by the Filament Group](http://filamentgroup.com/lab/responsive_design_approach_for_complex_multicolumn_data_tables/)

Installation
------------

Extract into your modules directory (ex: sites/all/modules/contrib) and enable the module.

Usage
-----

The module can be used as a library by calling drupal_add_library('responsive_tables', 'responsive_tables') along with your own table output.

It can also be used in conjunction with the [Better Views Tables](http://drupal.org/sandbox/minorOffense/1793630) module to allow configuration from the Views UI.

Edit your view and change the style plugin to "Better Views Tables". Then in the settings for the style plugin, mark the "Responsive" checkbox near the bottom and configure your column priorities to "Persist", "Essential", "Optional" or "None".

Persist
:   Sets a column to always show no matter the screen resolution

Essential
:   High priority column which remains visible at all times. But unlike "persist" columns, these can be toggled in the display drop down.

Optional
:   Optional columns are automatically hidden as the table is resized. They can be re-enabled using the display drop down.

None
:   These are the first columns to disappear as they have the lowest priority. They can also be toggled in the display.

File

README.txt
View source
  1. Responsive Tables
  2. =================
  3. Overview
  4. --------
  5. Allows tables to act in a responsive fashion using a [technique designed by the Filament Group](http://filamentgroup.com/lab/responsive_design_approach_for_complex_multicolumn_data_tables/)
  6. Installation
  7. ------------
  8. Extract into your modules directory (ex: sites/all/modules/contrib) and enable the module.
  9. Usage
  10. -----
  11. The module can be used as a library by calling drupal_add_library('responsive_tables', 'responsive_tables') along with your own table output.
  12. It can also be used in conjunction with the [Better Views Tables](http://drupal.org/sandbox/minorOffense/1793630) module to allow configuration from the Views UI.
  13. Edit your view and change the style plugin to "Better Views Tables". Then in the settings for the style plugin, mark the "Responsive" checkbox near the bottom and configure your column priorities to "Persist", "Essential", "Optional" or "None".
  14. Persist
  15. : Sets a column to always show no matter the screen resolution
  16. Essential
  17. : High priority column which remains visible at all times. But unlike "persist" columns, these can be toggled in the display drop down.
  18. Optional
  19. : Optional columns are automatically hidden as the table is resized. They can be re-enabled using the display drop down.
  20. None
  21. : These are the first columns to disappear as they have the lowest priority. They can also be toggled in the display.