Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Commit

Permalink
Fixed #2 Select row is disabled in handles change and search event
Browse files Browse the repository at this point in the history
  • Loading branch information
coderdiaz committed Jan 19, 2017
1 parent 4f4a107 commit 6d08b5d
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Vue Datasource
#### A Vue.js server side component to create tables. Compatible with Vue 2.x and Laravel
#### A Vue.js server side component to create dynamic tables. Compatible with Vue 2.x and Laravel.
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/coderdiaz/vue-datasource/master/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/coderdiaz/vue-datasource.svg?style=flat-square)](https://github.com/coderdiaz/vue-datasource/stargazers)
![](https://img.shields.io/npm/dm/vue-datasource.svg?style=flat-square)
Expand Down
2 changes: 2 additions & 0 deletions dist/example.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/example.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/vue-datasource.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-datasource.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-datasource.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-datasource.min.js.map

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-datasource",
"description": "A Vue.js server side component to create tables",
"version": "1.0.1",
"description": "A Vue.js server side component to create dynamic tables",
"version": "1.0.2",
"author": "Javier Diaz <[email protected]>",
"scripts": {
"dev": "webpack-dev-server --inline --hot",
Expand All @@ -16,7 +16,12 @@
"vue.js",
"component",
"vue-component",
"vue-datasource"
"vue-datasource",
"table",
"vue-table",
"datatable",
"tables",
"vuejs"
],
"license": "MIT",
"bugs": {
Expand Down
2 changes: 2 additions & 0 deletions src/Datasource.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
selectRow: Utils.selectRow,
searching() {
this.selected = null;
this.indexSelected = -1;
this.$emit('searching', this.search);
}
},
Expand All @@ -173,6 +174,7 @@
*/
perpage() {
this.selected = null;
this.indexSelected = -1;
this.$emit('change', { perpage: this.perpage, page: 1 });
}
}
Expand Down

0 comments on commit 6d08b5d

Please sign in to comment.