vue2-bootstrap-table

0.2.2 • Public • Published

Vue2-Bootstrap-Table

A simple VueJS 2.0 table component using Bootstrap styles

CSS relies on a parent supplying styles

All JS is written in Vue, with no external dependancies

Features:

  • Filtering on all keys
  • Pagination
  • Sorting and reverse sorting on any key
  • Optional custom renderers for individual columns
  • Path keys for columns. Specify path using lodash _.get function. Eg: 'obj.obj.obj[0].prop'

Demo

to try out the demo install the node modules dev dependencies with npm install and build the code with npm run build

Usage

from a Vue webpack project

import grid from 'vue2-bootstrap-table'

expose it as a component in your .vue file

    ...,
    components: {
      grid: grid
    },
    ...

and use it in as a custom html element

        <grid
          :data="tableData"
          :columns="headers"
          :rowsPerPage="2"
          @clickRow="rowClick"
          :filter-key="searchQuery">
        </grid>

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.20latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.20
0.2.10
0.2.01
0.1.110
0.1.103
0.1.94
0.1.80
0.1.71
0.1.60
0.1.51
0.1.40
0.1.31
0.1.21
0.1.11
0.1.00

Package Sidebar

Install

npm i vue2-bootstrap-table

Weekly Downloads

13

Version

0.2.2

License

Apache-2.0

Last publish

Collaborators

  • threeequals