From 995c66b4c4b40284cd5d81c28eb9942f8e5ca967 Mon Sep 17 00:00:00 2001 From: Daniel Sieradski Date: Tue, 8 Jun 2021 16:32:04 -0400 Subject: [PATCH] Change attribute names to match GridJS API Signed-off-by: Daniel Sieradski --- CHANGELOG.md | 2 ++ README.md | 37 ++++++++++++++----------------- src/gridjs-vue.mjs | 16 ++++++------- test/gridjs-vue-test-no-theme.mjs | 4 ++-- test/gridjs-vue-test.mjs | 4 ++-- 5 files changed, 31 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83d33a1..1ce3c31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. Dates are displayed in UTC. +## [Unreleased] + ## [5.0.1] - 2021-06-08 - Major update! diff --git a/README.md b/README.md index 742efa4..4ca2daa 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Vue.use(GridGlobal) ## Usage -Pass `cols` (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. +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. Refer to [Grid.js documentation](https://gridjs.io/docs/config/) for specific configuration options. This module may lag behind the main Grid.js module somewhat, so check the API version badge at the top of this README. @@ -47,7 +47,7 @@ Refer to [Grid.js documentation](https://gridjs.io/docs/config/) for specific co ```html