0.4.0 • Published 5 years ago

ez-table v0.4.0

Weekly downloads
1
License
UNLICENSED
Repository
github
Last release
5 years ago

ez-table

A Vue component that displays a table with a scrollable body and fixed header.

Compatibility browser

All browsers

Installation

npm i --save-dev ez-table

Demo

Sandbox Demo

Module

import ezTable from 'ez-table'
Vue.use(ezTable)

Usage

Once installed, it can be used in a template as simply as:

<ez-table bottom-marge=12>
  <thead slot="thead">
      <th>C1</th>
      <th>C2</th>
      <th>C3</th>
  </thead>
  <tbody slot="tbody">
      <tr>
          <td>item1</td>
          <td>item2</td>
          <td>item3</td>
      </tr>
      <!-- ... -->
  </tbody>
</ez-table>

Columns header width will be synchronized with columns body width.

bottomMarge is the value (px) under the table triggering the scrollbar.

0.4.0

5 years ago

0.3.0

5 years ago

0.2.3

5 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago