You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

vue2-grid

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue2-grid

A flexible grid component for Vue.js

0.2.5
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

vue-grid

A flexible grid component for Vue.js

We've moved! The latest version of vue-grid is now located at vue-grid2 on NPM.

vue-grid is designed to be an advanced Vue.js grid component allowing for fast loading and rendering of tabular data.

Documentation

https://github.com/dzwillia/vue-grid/

Demo

https://dzwillia.github.io/vue-grid

Requirements

  • Vue.js (^v2.1.4)

Browser support

IE 10+ (due to Flexbox support).

Installation

NPM

npm install vue2-grid --save

Usage

All styling for this component is done using Tachyons.css. No external CSS files are required at this time.

ES6

<grid
  data-url="https://enter-your-data/url/endpoint/here"
></grid>

Please note that for now he JSON payload must be formatted as follows:

{
  "columns": [
    { "name": "col1" },
    { "name": "col2" },
    { "name": "col3" }
  ],
  "rows": [
    {
      "col1": "Column 1 Row 1",
      "col2": "Column 2 Row 1",
      "col3": "Column 3 Row 1"
    },{
      "col1": "Column 1 Row 2",
      "col2": "Column 2 Row 2",
      "col3": "Column 3 Row 2"
    },{
      "col1": "Column 1 Row 3",
      "col2": "Column 2 Row 3",
      "col3": "Column 3 Row 3"
    }
  ],
  "total_count": 1000
}

The columns node only needs to be provided on the first call.

License

vue-grid is open source and released under the MIT License.

Copyright (c) 2017 David Z Williams.

PS: I would love to know if you're using vue-grid. Tweet to me at @padredaveo.

Keywords

vue

FAQs

Package last updated on 24 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts