{"maintainers":[{"name":"anonymous","email":"theefunk@gmail.com"}],"keywords":["table","responsive"],"dist-tags":{"latest":"2.0.6"},"author":{"name":"FooPlugins","url":"http://fooplugins.com"},"description":"jQuery plugin to make HTML tables responsive","readme":"FooTable\n========\n\nFooTable is a jQuery plugin that aims to make HTML tables on smaller devices look awesome - No matter how many columns of data you may have in them.\n\n[Home Page](http://fooplugins.com/plugins/footable-jquery \"Visit the FooTable Homepage\") |\n[WordPress Plugin (free)](http://fooplugins.com/plugins/footable-lite/) |\n[Demos](http://fooplugins.com/footable-demos/)\n\n![FooTable](https://raw.github.com/bradvin/FooTable/V2/screenshot.jpg \"FooTable\")\n\nFeatures\n--------\n\n* Hide certain columns at different sizes\n* Configuration via data attributes\n* Built to work with Bootstrap\n* Easy to theme\n* Sorting\n* Filtering\n* Pagination\n* Easy to extend with add-ons\n\nWhat Is FooTable?\n-----------------\n\nFooTable is a jQuery plugin that transforms your HTML tables into expandable responsive tables. This is how it works:\n\n1. It hides certain columns of data at different resolutions (we call these breakpoints).\n2. Rows become expandable to reveal any hidden data.\n\nSo simple! Any hidden data can always be seen just by clicking the row.\n\nDemos\n-----\n\nCheck out the growing number of [FooTable demos](http://fooplugins.com/footable-demos/) (with built-in documentation!)\n\nDocumentation\n-------------\n\nThe docs are built into the [demos](http://fooplugins.com/footable-demos/)! On every demo page, there is a docs tab that outlines how to use the specific feature.\n\nData Attribute Configuration\n----------------------------\n\nOne of the main goals of FooTable was to make it completely configurable via data attributes. We wanted you to be able to look at the HTML markup and see exactly how the FooTable was going to function. Take a look at this markup for example:\n\n```html\n<table class=\"footable\" data-filter=\"#filter\" data-page-size=\"5\">\n  <thead>\n    <tr>\n      <th data-toggle=\"true\">\n        First Name\n      </th>\n      <th data-sort-ignore=\"true\">\n        Last Name\n      </th>\n      <th data-hide=\"phone,tablet\">\n        Job Title\n      </th>\n      <th data-hide=\"phone,tablet\" data-name=\"Date Of Birth\">\n        DOB\n      </th>\n      <th data-hide=\"phone\">\n        Status\n      </th>\n    </tr>\n  </thead>\n```\n\nAll available data attributes are listed in the [data attributes demo](http://fooplugins.com/footable-demos/?url=http://fooplugins.com/footable/demos/data-attributes.htm)\n\nBreakpoints\n-----------\n\nFooTable works with the concepts of \"breakpoints\", which are different table widths we care about. The default breakpoints are:\n\n```javascript\nbreakpoints: {\n  phone: 480,\n  tablet: 1024\n}\n```\n\nSo looking at the markup in the *Data Attribute Configuration* section, you can now tell that the *Job Title*, *DOB* and *Status* columns will be hidden when the table width is below 480 (phone).\n\nThere are also two built-in breakpoints called \"default\" and \"all\".\n\nThe \"default\" breakpoint is the fallback breakpoint for when the current table width is larger than any defined breakpoint. Looking at the above JS snippet the \"default\" breakpoint would be applied once the table width is larger than 1024 (tablet).\n\nThe \"all\" breakpoint is pretty straight forward in it's use. You can always hide a column on any table width by applying the *data-hide=\"all\"* attribute to the header.\n\nUsage\n-----\n\nCreate a simple table (don't forget to set the data attributes for each column in your thead!):\n\n```html\n<table class=\"footable\">\n  <thead>\n    <tr>\n      <th>Name</th>\n      <th data-hide=\"phone,tablet\">Phone</th>\n      <th data-hide=\"phone,tablet\">Email</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>Bob Builder</td>\n      <td>555-12345</td>\n      <td>bob@home.com</td>\n    </tr>\n    <tr>\n      <td>Bridget Jones</td>\n      <td>544-776655</td>\n      <td>bjones@mysite.com</td>\n    </tr>\n    <tr>\n      <td>Tom Cruise</td>\n      <td>555-99911</td>\n      <td>cruise1@crazy.com</td>\n    </tr>\n  </tbody>\n</table>\n```\n\n1. **Include FooTable Core CSS**\n\n   ```html\n<link href=\"path_to_your_css/footable.core.css\" rel=\"stylesheet\" type=\"text/css\" />\n```\n\n2. **[optional] Include FooTable Theme CSS**\n\n   > FooTable is now built to work with [Twitter Bootstrap](http://twitter.github.io/bootstrap) out of the box - WOOT!\n\n   You can use one of our built-in themes if you want:\n\n   ```html\n<link href=\"path_to_your_css/footable.metro.css\" rel=\"stylesheet\" type=\"text/css\" />\n```\n\n   Check out the [metro theme demo](http://fooplugins.com/footable-demos/?url=http://fooplugins.com/footable/demos/metro-theme.htm) or the [original theme demo](http://fooplugins.com/footable-demos/?url=http://fooplugins.com/footable/demos/old-theme.htm).\n\n3. **Include jQuery**\n\n    ```html\n<script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js\" type=\"text/javascript\"></script>\n```\n\n4. **Include FooTable jQuery Plugin**\n\n    ```html\n<script src=\"path_to_your_js/footable.js\" type=\"text/javascript\"></script>\n```\n\n5. **Initialize FooTable!**\n\n   ```html\n<script type=\"text/javascript\">\n    $(function () {\n\n        $('.footable').footable();\n\n    });\n</script>\n```\n\nExtensible\n----------\n\nAnother goal of FooTable was to make it easily extensible. If you look at the code you will see that there is a plugin framework within the plugin, so extra mods can be attached just by including another javascript file.\n\nWe also didn't want to bloat FooTable, so you can only use what you need and leave out everything else.\n\nWorking add-ons:\n\n* sorting\n* filtering\n* pagination (thanks @awc737)\n* striping (thanks @OliverRC)\n\nOther add-on ideas so far are:\n\n* conditional formatting\n* json loading\n* column picker\n\nThanks\n------\n\nWe would not have created FooTable without inspiration from others. Thanks must be given to:\n\n* Catalin for his [original table CSS](http://www.red-team-design.com/practical-css3-tables-with-rounded-corners)\n* [@awc737](https://github.com/awc737) for creating the pagination add-on\n* [@OliverRC](https://github.com/OliverRC) for creating the striping add-on\n* [Chris Coyier](http://css-tricks.com/responsive-data-tables/) (also check out Chris' [responsive table roundup post](http://css-tricks.com/responsive-data-table-roundup/))\n* [Zurb](http://www.zurb.com/playground/responsive-tables)\n* [Dave Bushell](http://dbushell.com/2012/01/05/responsive-tables-2/)\n* [Filament Group](http://filamentgroup.com/examples/rwd-table-patterns/)\n* [Stewart Curry](http://www.irishstu.com/stublog/2011/12/13/tables-responsive-design-part-2-nchilds/)\n* [@akf](https://github.com/akf) and [Lucid Meetings](https://github.com/lucidmeetings) for creating the bookmarkable add-on","repository":{"type":"git","url":"git+https://github.com/bradvin/FooTable.git"},"users":{"kmonsoor":true},"bugs":{"url":"https://github.com/bradvin/FooTable/issues"},"versions":{"2.0.5":{"name":"footable","title":"FooTable","description":"jQuery plugin to make HTML tables responsive","version":"2.0.5","homepage":"http://themergency.com/footable/","main":"dist/footable.all.js","author":{"name":"FooPlugins","url":"http://fooplugins.com"},"contributors":[{"name":"Steven Usher","email":"steveush@gmail.com","url":"http://gnarf.net"},{"name":"Brad Vincent","email":"bradvin@gmail.com","url":"http://themergency.com"}],"repository":{"type":"git","url":"git+https://github.com/bradvin/FooTable.git"},"bugs":{"url":"https://github.com/bradvin/FooTable/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bradvin/FooTable/blob/master/LICENSE"}],"dependencies":{"jquery":">=1.4.4"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-uglify":"~0.1.1","grunt-contrib-watch":"~0.2.0","grunt-contrib-clean":"~0.4.0","grunt":"~0.4.1","grunt-contrib-less":"~0.5.2","grunt-contrib-csslint":"~0.1.2","grunt-contrib-concat":"~0.3.0"},"scripts":{"test":"grunt test"},"keywords":["table","responsive"],"gitHead":"30fd2311d031ee5bccb77733796f677f02f033b5","_id":"footable@2.0.5","_shasum":"3dc4176009b3e4dd65e386c8d8693bfc75361c2f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"anonymous","email":"theefunk@gmail.com"},"dist":{"shasum":"3dc4176009b3e4dd65e386c8d8693bfc75361c2f","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/footable/-/footable-2.0.5.tgz","integrity":"sha512-SOggVfT+KIcPXkhi0bgXXCBjiLsb3nJrm0kswjgRQc3gYkIP7vuUo7gXJYnXed3DEnMp2oH/zpDqMbZCCAcMVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHY6+7W36qy5aMkmnITfyRPGHxWuox2OpcIJRQFYI16wAiAxJpTQ4Ha0UZteJVIJqnrt+lPVz9vPnqc1+geXJqQ+aQ=="}]},"maintainers":[{"name":"anonymous","email":"theefunk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/footable-2.0.5.tgz_1495725118923_0.9111368912272155"},"directories":{}},"2.0.6":{"name":"footable","title":"FooTable","description":"jQuery plugin to make HTML tables responsive","version":"2.0.6","homepage":"http://themergency.com/footable/","main":"dist/footable.all.js","author":{"name":"FooPlugins","url":"http://fooplugins.com"},"contributors":[{"name":"Steven Usher","email":"steveush@gmail.com","url":"http://gnarf.net"},{"name":"Brad Vincent","email":"bradvin@gmail.com","url":"http://themergency.com"}],"repository":{"type":"git","url":"git+https://github.com/bradvin/FooTable.git"},"bugs":{"url":"https://github.com/bradvin/FooTable/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bradvin/FooTable/blob/master/LICENSE"}],"dependencies":{"jquery":">=1.4.4"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-uglify":"~0.1.1","grunt-contrib-watch":"~0.2.0","grunt-contrib-clean":"~0.4.0","grunt":"~0.4.1","grunt-contrib-less":"~0.5.2","grunt-contrib-csslint":"~0.1.2","grunt-contrib-concat":"~0.3.0"},"scripts":{"test":"grunt test"},"keywords":["table","responsive"],"gitHead":"0a770dae3565250eb28b9315c904156ee0b7406b","_id":"footable@2.0.6","_shasum":"24e2d0c4a61648e03fc0313817be853aa59c09d0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"anonymous","email":"theefunk@gmail.com"},"dist":{"shasum":"24e2d0c4a61648e03fc0313817be853aa59c09d0","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/footable/-/footable-2.0.6.tgz","integrity":"sha512-OSkHeQ3pSt2rVchLlUa02axnnCd/C8eaK4KJriglJtR+QWg4caNkooOqvb1owzJiZ9+/bEhnXCic3mv8vLKM2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDw/mIb9dAtCVNwo3HoF7w7dj6NeuhajzaW3fGT75nwAiBqFqY3CjQi7yIgIA9cOzqCta6EKLHMxQBbB6d25HYXkQ=="}]},"maintainers":[{"name":"anonymous","email":"theefunk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/footable-2.0.6.tgz_1506364016035_0.4608202779199928"},"directories":{}}},"name":"footable","time":{"modified":"2022-06-18T02:53:00.797Z","created":"2017-05-25T15:00:01.103Z","2.0.4":"2017-05-25T15:00:01.103Z","2.0.5":"2017-05-25T15:12:00.564Z","2.0.6":"2017-09-25T18:26:57.856Z"},"contributors":[{"name":"Steven Usher","email":"steveush@gmail.com","url":"http://gnarf.net"},{"name":"Brad Vincent","email":"bradvin@gmail.com","url":"http://themergency.com"}],"readmeFilename":"README.md","homepage":"http://themergency.com/footable/"}