jbaysolutions / vue2-bootstrap-table

A sortable and searchable table, as a Vue2 component, using bootstrap styling.
118 stars 39 forks source link

Listener for RowClick? #2

Closed Cookizza closed 7 years ago

Cookizza commented 7 years ago

In an older bootstrap-table npm package it was possible to listen for a click on a row. This was useful for table items with single functions, much cleaner than appending a single button to the row.

Something like:

:onRowClick="rowClick"

Could this be added in?

syshex commented 7 years ago

I'll give it a look.

syshex commented 7 years ago

I've done this. Would you be willing to give it a test run, or you require a release?

Cookizza commented 7 years ago

I can test for sure!

syshex commented 7 years ago

Wicked. Give me a sec to document this and push

syshex commented 7 years ago

Ok, done. Javascript files at : dist

Documentation HERE

Any feedback you have, let me know

Cookizza commented 7 years ago

Can confirm all is behaving as expected!

Awesome!

syshex commented 7 years ago

Sweet. Tomorrow will do the same to the Vue1 version and will make a release. If you need it sooner let me know and I'll try and get it done tonight

Cookizza commented 7 years ago

All good from me. I'm maybe 12 hours into a 350 hour project so I'm sure by the time we get to UAT the release will be out.

Thanks for such a great component mate, and of course the lightning fast addition here today.

Love your work!

syshex commented 7 years ago

No problem! Afterwards, if it is a public project let us know, so we add it to the list of projects using it.

Thanks for the feedback!

syshex commented 7 years ago

Released 1.1.5