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

Commit 92f01b0

Browse files
committed
Modify README.md
1 parent 92e0f79 commit 92f01b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ This callback will modify the data for various operations. Such as applying a sp
184184
text: 'Click me', // Button label
185185
icon: 'glyphicon glyphicon-check', // Button icon
186186
class: 'btn-primary', // Button class (background color)
187+
show(selectedRow) { // Event to define a condition to display the button with the selected row
188+
return true
189+
},
187190
event(e, row) { // Event handler callback. Gets event instace and selected row
188191
console.log('Click row: ', row); // If no row is selected, row will be NULL
189192
}
@@ -193,8 +196,6 @@ This callback will modify the data for various operations. Such as applying a sp
193196
```
194197
### Development
195198

196-
## Build Setup
197-
198199
``` bash
199200
# install dependencies
200201
npm install

0 commit comments

Comments
 (0)