vue data grid

An example that complex table interaction in Vue.js

268
33
Vue

Vue Data Grid

An example(live demo) that complex table interaction in Vue.js, which is rebounded the design by Virgil Pana

demo

See full interaction video

Build Setup

# install dependencies
yarn

# serve with hot reload at localhost:8080
yarn run dev

# build for production with minification
yarn run build

# build for production and view the bundle analyzer report
yarn run build --report

# deploy bundled files to gh-pages
yarn run deploy

Feature

  • Load data from json and import table interaction configuration, which is flexible and scalable (data source used in demo).
  • Present data in real table tag, which keep html semantic
  • Load icons via svg sprite, which is resuable and pixel perfact
  • Group data by month and year automatically
  • Long contents in cells are trimmed automatically, which are expandable by clicking the columns
  • The length of expanding columns are calculated by data automatically
  • Cells have more menus or details, such as adding google map query links automatically
  • Sort data by ascending or descending and filter data by range, whose bounds are calculated by data automatically
  • Select columns to show by opening context menu with right click on header

Acknowledgement