Directory

← Back

smart-table

Table Web Component | Table Custom Element | Javascript Table | Free Table Component

Author

Rating

Popularity

<100

[ This description is mirrored from README.md at github.com/HTMLElements/smart-table on 2019-05-22 ]

Smart Table Element Tweet

  Price npm License: APACHE Published on webcomponents.org

<smart-table>

Live Demo ↗ | Documentation ↗ | Installation ↗

<smart-table> is a Custom HTML Element providing an alternative of the standard Table, part of the Smart HTML Elements.

<smart-table>
        <table>
            <thead>
                <tr>
                    <th scope="col">Country</th>
                    <th scope="col">Area</th>
                    <th scope="col">Population_Rural</th>
                    <th scope="col">Population_Total</th>
                    <th scope="col">GDP_Total</th>
                </tr>
            </thead>
            <tbody>
                <tr><td>Brazil</td><td>8515767</td><td>0.15</td><td>205809000</td><td>2353025</td></tr>
                <tr><td>China</td><td>9388211</td><td>0.46</td><td>1375530000</td><td>10380380</td></tr>
                <tr><td>France</td><td>675417</td><td>0.21</td><td>64529000</td><td>2846889</td></tr>
                <tr><td>Germany</td><td>357021</td><td>0.25</td><td>81459000</td><td>3859547</td></tr>
                <tr><td>India</td><td>3287590</td><td>0.68</td><td>1286260000</td><td>2047811</td></tr>
                <tr><td>Italy</td><td>301230</td><td>0.31</td><td>60676361</td><td>2147952</td></tr>
                <tr><td>Japan</td><td>377835</td><td>0.07</td><td>126920000</td><td>4616335</td></tr>
                <tr><td>Russia</td><td>17098242</td><td>0.26</td><td>146544710</td><td>1857461</td></tr>
                <tr><td>United States</td><td>9147420</td><td>0.19</td><td>323097000</td><td>17418925</td></tr>
                <tr><td>United Kingdom</td><td>244820</td><td>0.18</td><td>65097000</td><td>2945146</td></tr>
            </tbody>
        </table>
</smart-table>

Screenshot of smart-table, using the Material theme

Screenshot of smart-table, using which is sortable

Screenshot of smart-table, using the Responsive Tablet mode

Screenshot of smart-table, using the Responsive mode

Getting Started

Smart HTML Elements components documentation includes getting started, customization and api documentation topics.

Getting Started Documentation | CSS Documentation | API Documentation

The file structure for Smart HTML Elements

  • source/

    Javascript files.

  • source/styles/

    Component CSS Files.

  • demos/

    Demo files

Running demos in browser

  1. Fork the Smart-HTML-Elements-Core repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the Smart-HTML-Elements-Core directory, run npm install and then bower install to install dependencies.

  4. Run a localhost or upload the demo on a web server. Then run:

  • /demos/smart-table/overview/

Following the coding style

We are using ESLint for linting JavaScript code.

Creating a pull request

  • Make sure your code is compliant with ESLint
  • Submit a pull request with detailed title and description
  • Wait for response from one of our team members

License

Apache License 2.0

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • webcomponentsjs#^1.0.0
  • smart-core#HTMLElements/smart-core
Released
2019-03-19
Maturity
IMPORTED
License
Apache License 2.0

Compatibility

Framework
Browser
Browser Independent

smart-table - Vaadin Add-on Directory

Table Web Component | Table Custom Element | Javascript Table | Free Table Component smart-table - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/HTMLElements/smart-table](https://github.com//HTMLElements/smart-table/blob/v2.3.2/README.md) on 2019-05-22 ]** # [Smart Table Element](https://www.htmlelements.com) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Get%20over%2020%20free%20custom%20elements%20based%20on%20SmartHTMLElements%20&url=https://www.htmlelements.com/&via=htmlelements&hashtags=bootstrap,design,templates,table,developers,webcomponents,customelements,polymer,material)   [![Price](https://img.shields.io/badge/price-FREE-0098f7.svg)](https://github.com/HTMLElements/smart-table/blob/master/LICENSE) [![npm](https://img.shields.io/npm/v/@smarthtmlelements/smart-table.svg?style=flat)](https://www.npmjs.com/package/@smarthtmlelements/smart-table) [![License: APACHE](https://img.shields.io/badge/license-APACHE-blue.svg)](https://github.com/HTMLElements/smart-table/blob/master/LICENSE) [![](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=www.htmlelements.com)](https://www.htmlelements.com) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/htmlelements/smart-table) # <smart-table> [Live Demo ↗](https://htmlelements.com/demos/table/) | [Documentation ↗](https://www.htmlelements.com/docs/) | [Installation ↗](https://www.npmjs.com/package/@smarthtmlelements/smarthtmlelements-core) [<smart-table>](https://htmlelements.com/demos/table/) is a Custom HTML Element providing an alternative of the standard Table, part of the [Smart HTML Elements](https://htmlelements.com/). ```html
Country Area Population_Rural Population_Total GDP_Total
Brazil85157670.152058090002353025
China93882110.46137553000010380380
France6754170.21645290002846889
Germany3570210.25814590003859547
India32875900.6812862600002047811
Italy3012300.31606763612147952
Japan3778350.071269200004616335
Russia170982420.261465447101857461
United States91474200.1932309700017418925
United Kingdom2448200.18650970002945146
``` [Screenshot of smart-table, using the Material theme](https://htmlelements.com/demos/table) [Screenshot of smart-table, using which is sortable](https://htmlelements.com/demos/table) [Screenshot of smart-table, using the Responsive Tablet mode](https://htmlelements.com/demos/table) [Screenshot of smart-table, using the Responsive mode](https://htmlelements.com/demos/table) ## Getting Started Smart HTML Elements components documentation includes getting started, customization and api documentation topics. [Getting Started Documentation](https://www.htmlelements.com/docs/table/) | [CSS Documentation](https://www.htmlelements.com/docs/table-css/) | [API Documentation](https://www.htmlelements.com/docs/table-api/) ## The file structure for Smart HTML Elements - `source/` Javascript files. - `source/styles/` Component CSS Files. - `demos/` Demo files ## Running demos in browser 1. Fork the `Smart-HTML-Elements-Core` repository and clone it locally. 1. Make sure you have [npm](https://www.npmjs.com/) installed. 1. When in the `Smart-HTML-Elements-Core` directory, run `npm install` and then `bower install` to install dependencies. 1. Run a localhost or upload the demo on a web server. Then run: - /demos/smart-table/overview/ ## Following the coding style We are using [ESLint](http://eslint.org/) for linting JavaScript code. ## Creating a pull request - Make sure your code is compliant with ESLint - [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description - Wait for response from one of our team members ## License Apache License 2.0
Online