gridjs-vue

A Vue.js wrapper component for Grid.js
65,492 99
Install
npm install gridjs-vue
Latest Version:5.0.4
Vue:2
License:MIT
Last Updated:Jan 22, 2026
Links: GitHub  ·  npm
Maintainer: dsieradski

gridjs-vue

gridjs-vue logo

A Vue wrapper component for Grid.js.

npm Grid.js API
version GitHub last commit GitHub
issues Discord

Install

npm install gridjs-vue

Also available on unpkg and Skypack!

<script>
  import { Grid } from 'gridjs-vue'

  export default {
    components: {
      Grid
    }
  }
</script>

Basic Usage

Pass columns (an array of column headers) and either rows, from, or server as a data source to the component. Everything else is optional. Pass in new data to update the table.

Read the full documentation for further configuration options.

Example

<template>
  <grid :columns="columns" :rows="rows" @ready="myMethod"></grid>
</template>

<script>
  import Grid from 'gridjs-vue'

  export default {
    name: 'Cars',
    components: {
      Grid
    },
    data() {
      return {
        columns: ['Make', 'Model', 'Year', 'Color'],
        rows: [
          ['Ford', 'Fusion', '2011', 'Silver'],
          ['Chevrolet', 'Cruz', '2018', 'White']
        ]
      }
    },
    methods: {
      myMethod() {
        console.log("It's ready!")
      }
    }
  }
</script>

🤝 Contributing

Originally authored by Daniel Sieradski.

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Related Packages

@excel-report/vue

ExcelReport 前端预览组件的 Vue 3 适配层

0
holysheetjs

Extensible JavaScript spreadsheet

751 1
comfortable-js

Simple, Fast, Customizable Table Component in JavaScript.

5,506 26
@freegridjs/vue

Vue 3 component for FreeGrid, the fast data grid. Free core; paid features free...

2,855

Version History

Version Released License
5.0.4 MIT
5.0.3 MIT
5.0.2 MIT
5.0.1 MIT
4.0.0 MIT
Pre-releases (5)
Version Released License
5.0.3-0 MIT
5.0.2-3 MIT
5.0.2-2 MIT
5.0.2-1 MIT
5.0.2-0 MIT