Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

MrF3lix/responsive-tables

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Responsive-tables-SE

All changes are based on the original repository from ZURB (https://github.com/zurb/responsive-tables)! Tables that work responsively on small devices.

Improvements

  1. The plugin is rewriten. This change was made because it is easier to add new functionality to it and it's easier for another developer to understand.

  2. The plugin needs to be initialized from now. The reason behind it is to add options to the plugin which makes it more usable. The responsive table will be initialized like this:

$('table').responsiveTable();
  1. It is now possible to define a range in which the plugin is active. [see options]

  2. Which columns are fixed and which are sliding can now be defined in the options. This way it is easy to define which column is always fixed. [see options]

Options

columnsToFix: new Array()

With this option it is possible to define which columns are fixed.

minWidth: 123

The minWidth defines the minimum width for the responsive table. Bellow this width the table will be displayed as usual. This way the plugin can be used in combination with other responsive table plugins like Footable

maxWidth: 99

The maxWidth defines the maxium width for the responsive table. Above this width the table will be displayed as usual.

Things that don't work yet

  1. Problems while using footable with it [OPEN]

About

Tables that work responsively on small devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 83.5%
  • JavaScript 9.6%
  • HTML 6.9%