All Projects → ryanwellsdotcom → jquery-responsive-tables

ryanwellsdotcom / jquery-responsive-tables

Licence: MIT license
A lightweight jQuery plugin that enables HTML table markup to become responsive. It can work for multiple tables on a single page, as well as with tables that contain various combinations of merged cells. It uses CSS for the rendering and is easily customized.

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to jquery-responsive-tables

React Native Scalable Image
React Native Image component which scales width or height automatically to keep the original aspect ratio
Stars: ✭ 241 (+995.45%)
Mutual labels:  responsive
fhemApp
Web-App zur Steuerung deiner Smarthome Umgebung in Verbindung mit FHEM.
Stars: ✭ 25 (+13.64%)
Mutual labels:  responsive
fancybox
jQuery lightbox script for displaying images, videos and more. Touch enabled, responsive and fully customizable.
Stars: ✭ 7,261 (+32904.55%)
Mutual labels:  responsive
Framevuerk
Fast, Responsive, Multi Language, Both Direction Support and Configurable UI Framework based on Vue.js.
Stars: ✭ 252 (+1045.45%)
Mutual labels:  responsive
PotatoCSS
🥔 Simple CSS framework for hackers. Simple as potato.
Stars: ✭ 53 (+140.91%)
Mutual labels:  responsive
vue-unsaved-changes-dialog
Beautiful unsaved changes dialog, inspired by a component from the Squarespace admin
Stars: ✭ 13 (-40.91%)
Mutual labels:  responsive
Responsive scaffold
Responsive Scaffold - On mobile it shows a list and pushes to details and on tablet it shows the List and the selected item. Maintainer: @rodydavis
Stars: ✭ 238 (+981.82%)
Mutual labels:  responsive
Simple-UI-Semantic-UI-Admin
Free Semantic UI (Fomantic-UI) Admin Template
Stars: ✭ 50 (+127.27%)
Mutual labels:  responsive
hugoblog
Hugoblog is responsive, simple, and clean that would fit for your personal blog based on Hugo Theme Static Site Generator (SSG)
Stars: ✭ 48 (+118.18%)
Mutual labels:  responsive
boba
A lightweight, modular CSS framework.
Stars: ✭ 47 (+113.64%)
Mutual labels:  responsive
Bonsai.css
A Utility Complete CSS Framework for less than 45kb (8kB Gzipped) -
Stars: ✭ 254 (+1054.55%)
Mutual labels:  responsive
book-library
📚 A book library app for both Android & IOS ~ Flutter.dev project in Dart
Stars: ✭ 89 (+304.55%)
Mutual labels:  responsive
flutter responsive tabs
Flutter Responsive Tabs Demo
Stars: ✭ 43 (+95.45%)
Mutual labels:  responsive
Vue Product Zoomer
Zoom Prodct Image, useful for e-shop website
Stars: ✭ 248 (+1027.27%)
Mutual labels:  responsive
morioh
Morioh Responsive Template with Bootstrap 4, HTML5 and Vue.js
Stars: ✭ 119 (+440.91%)
Mutual labels:  responsive
React Native Responsive Dimensions
Resposive fontSize, height and width for react-native components, that automatically adjusts itself based on screen-size of the device.
Stars: ✭ 243 (+1004.55%)
Mutual labels:  responsive
scalem
A jQuery plugin to make any element scalable (responsive).
Stars: ✭ 33 (+50%)
Mutual labels:  responsive
ReactZooApp
ReactZooApp
Stars: ✭ 33 (+50%)
Mutual labels:  responsive
just-responsive-images
WordPress Plugin to support better responsive images with <picture> tag, backgrounds, retina support etc.
Stars: ✭ 47 (+113.64%)
Mutual labels:  responsive
Fluid
Modern, Stylish, Easier and Powerful Css framework for faster and hassle free web development
Stars: ✭ 24 (+9.09%)
Mutual labels:  responsive

jquery-responsive-tables

npm version

A lightweight jQuery plugin that enables HTML table markup to become responsive. It provides a clean list view via devices with small screens, then returns to the traditional view for larger screens. It can work for multiple tables on a single page, as well as with tables that contain various combinations of merged cells. It uses CSS for the rendering and is easily customized.

Demo

Usage

npm install jquery-responsive-tables --save
  • The plugin requires jQuery 1.11 or above.
  • Include the jquery.responsive-tables.js and the responsive-tables.css in your project. The CSS properties can be overridden to meet your needs.
  • Invoke the plugin within your custom scripts file:
$(document).ready(function() {
    $.responsiveTables();
});
  • Ensure that tables are marked up semantically using the <thead> (optional) and <tbody> (required) tags:
<table>
    <caption>
        Example
    </caption>
    <!--optional-->
    <thead>
        <tr>
            <th>Heading</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Sample</td>
            ...
        </tr>
    </tbody>
</table>

Customizations

Within the responsive-tables.css style sheet, change the media query breakpoint as needed:

@media only screen and (max-width: 768px);

When changing the media query breakpoint within the responsive-tables.css style sheet, as described above, ensure that a matching value is passed from the plugin invocation:

$.responsiveTables('768px');

Author

Ryan Wells: ryanwells.com

License

Licensed under MIT. Enjoy.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].