Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

hideandseekdigital/best-responsive-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The best responsive table on this planet

Good UX for tables on mobile doesn't exist... Until now!

Why

  • Great ux
  • Accessible
  • Easily customisable
  • Work out of the box with wysiwyg editors
  • IE friendly

Mark-up

No special treatment needed on the mark-up, this library is built to work with the default table mark-up generated from wysiwyg editors such as CKEditor and TinyMCE, so that it can be easily applied to your content management system.

How to use

Reference brt.css and brt.js in your html

<link rel="stylesheet" href="dist/css/brt.css">
<script src="dist/js/brt.js"></script>

Then initiate it when DOM is ready

resTable.init({
    table: document.getElementById('table'),
})

Dev

  1. clone this repo
  2. npm i this bad boy
  3. gulp start this gorgeous baby
  4. see magic happen inside browser

Todos

  • Transpile JS with babel
  • Refactor to handle responsiveness inside js
  • Seperation of table styles
  • Add refresh() function to handle ajax content.
  • Make npm package.

About

The best responsive table on this planet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors