tmaiaroto / vue-data-grid

An example that complex table interaction in Vue.js

Home Page:https://lucienlee.github.io/vue-data-grid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An example that complex table interaction in Vue.js

https://lucienlee.github.io/vue-data-grid


Languages

Language:Vue 55.8%Language:JavaScript 41.8%Language:CSS 1.8%Language:HTML 0.6%