Powerful jquery Table Control footable

Source: Internet
Author: User

footable is a jQuery plugin that allows table to perform better on mobile devices, primarily to turn HTML tables into devices that support a variety of sizes, especially on small-screen devices. You don't have to worry about having too many columns for the table. Footable is a very powerful tabular component. Github:https://github.com/bradvin/FooTable#readme
Open source China:http://www.oschina.net/p/footable
To view all demos, download the zip package, or visit the plugin website

The main goal of a footable is to make it fully accessible through data attributes. We hope you can look at the HTML tags and know exactly what footable to function. take this tag For example one look :

<Tableclass="Footable"Data-filter="#filter"Data-page-size="5" > <thead> <tr> <th data-toggle="true" > First Name </th> <th  Data-sort-ignore="true" > Last Name </th> <th data-hide="Phone,tablet" > Job Title </th> <th data-hide="Phone,tablet" data-name="Date of Birth" > DOB < /th> <th data-hide="Phone" > Status </th> </tr> </thead >                   

footable Works "breakpoint" concept, which is different from the table width that we care about. default breakpoint :

Breakpoints: {  480,  1024x768} 


To create a simple table :

<Tableclass="Footable" > <Thead> <Tr> <th>name</Th> <ThData-hide="Phone,tablet" >phone</Th> <ThData-hide="Phone,tablet" >email</Th> </Tr> </Thead> <Tbody> <Tr> <Td>bob builder</td> <td>555-12345</td> <td>[email protected]</td></tr> <tr> <td>bridget jones</td> <td>544-776655</td> <td> [Email protected]</td> </tr> <tr> <td>tom cruise</td> < td>555-99911</td> <td>[email protected]</td> </tr> </  tbody></table>             

References footable core CSS:
<href=rel=type="text/css"/>   


[optional] include footable theme CSS:

You can use one of our default themes if you wish:
<href=rel=type="Text/css"/>

Reference JQuery:

<src=type="Text/javascript" ></script>   


Reference footable JQuery Plugin:

<src=type="Text/javascript" ></script>   



<type="Text/javascript" >$ (function () { $ ('. footable '). footable ();}); </script>        


The extensible

Another goal of footable is to make it easy to expand. If your code you will see inside the plugin , the plugin framework , so the extra plug-in can be connected to only include a JavaScript files .

We do not want to footable , so you can only use what you need and leave it all .

add-ons for work :

Sort

Filter

Page out

Strip

Other attached ideas are so far :

Conditional formatting

JSON Loading

Column Selector

Material Bar Recommended Download






Powerful jquery Table Control footable

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.