Skip to content

Commit 669223d

Browse files
author
syshex
committed
1.1.5
1 parent 3fa214b commit 669223d

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 1.1.5 (June 21, 2017)
4+
5+
* Row Click Handler added
6+
37
### 1.1.4 (June 12, 2017)
48

59
* Fix- delegate now doesn't use echo

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
vue-bootstrap-table is a sortable and searchable table, with Bootstrap styling, for Vue.js.
44

5-
### VUE 2 : 1.1.4
5+
### VUE 2 : 1.1.5
66

77
### Vue 1 : [jbaysolutions/vue-bootstrap-table](https://github.com/jbaysolutions/vue-bootstrap-table)
88

@@ -295,7 +295,7 @@ To add a Row click handler function:
295295

296296
<vue-bootstrap-table
297297
[...]
298-
:row-click-handler=renderRowFunction
298+
:row-click-handler=handleRowFunction
299299
>
300300
</vue-bootstrap-table>
301301
````
@@ -304,14 +304,14 @@ On your Vue instance :
304304

305305
````javascript
306306
data: {
307-
renderRowFunction: renderRow,
307+
handleRowFunction: handleRow,
308308
}
309309
````
310310

311311
And have the javascript function declared like so:
312312

313313
````javascript
314-
var renderRow = function (event, entry) {
314+
var handleRow = function (event, entry) {
315315
console.log("CLICK ROW: " + JSON.stringify(entry));
316316
};
317317
````
@@ -471,7 +471,7 @@ If you have a feature request, please add it as an issue or make a pull request.
471471

472472
## Changelog
473473

474-
### 1.1.5 - UNRELEASED
474+
### 1.1.5
475475

476476
* Row Click Handler added
477477

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h1>Vue Bootstrap Table</h1>
3737
:paginated="paginated"
3838
:multi-column-sortable="multiColumnSortable"
3939
:ajax="ajax"
40-
:row-click-handler=renderRowFunction
40+
:row-click-handler=handleRowFunction
4141
>
4242
</vue-bootstrap-table>
4343
</div>

src/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var renderfu = function (colname, entry) {
77
'</div><span>'+JSON.stringify(entry)+'</span>';
88
};
99

10-
var renderRow = function (event, entry) {
10+
var handleRow = function (event, entry) {
1111
console.log("CLICK ROW: " + JSON.stringify(entry));
1212
};
1313

@@ -22,7 +22,7 @@ new Vue({
2222
showPicker: true,
2323
paginated: true,
2424
multiColumnSortable: true,
25-
renderRowFunction: renderRow,
25+
handleRowFunction: handleRow,
2626
ajax: {
2727
enabled: false,
2828
url: "http://localhost:9430/data/test",

0 commit comments

Comments
 (0)