Vue-good-table: Feature Request - self.$emit('onRowHover', row)

Created on 11 Apr 2018  ·  8Comments  ·  Source: xaksis/vue-good-table

I hope the title explains it, really like the plugin its fantastic, it seems long winded for me to do custom column template though, what does everyone else think about this?

<component @onRowHover="selectRowFn"></component>

enhancement

Most helpful comment

This is now available as a table event @on-row-mouseenter and @on-row-mouseleave. table events section also added to the documentation:
https://github.com/xaksis/vue-good-table#table-events

closing.

All 8 comments

@kgrosvenor are you just looking for an event handler for row hover?

Yes

On Wed, 11 Apr 2018, 23:19 xaksis, notifications@github.com wrote:

@kgrosvenor https://github.com/kgrosvenor are you just looking for an
event handler for row hover?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xaksis/vue-good-table/issues/242#issuecomment-380613870,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEETt-oBoLdqNaR47IAFUkAMM7rsUPkeks5tnoFWgaJpZM4TQv-R
.

And for it to emit current object in the callback

On 11 Apr 2018 23:19, "xaksis" notifications@github.com wrote:

@kgrosvenor https://github.com/kgrosvenor are you just looking for an
event handler for row hover?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xaksis/vue-good-table/issues/242#issuecomment-380613870,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEETt-oBoLdqNaR47IAFUkAMM7rsUPkeks5tnoFWgaJpZM4TQv-R
.

Row hover event would be interesting, would give the chance to provide a tooltip or something else!

@kgrosvenor @col-panic sounds like a plan. Expect this in an upcoming release shortly.

Looking forward and thanks for taking the advice onboard :)

On Thu, 12 Apr 2018, 13:17 xaksis, notifications@github.com wrote:

@kgrosvenor https://github.com/kgrosvenor @col-panic
https://github.com/col-panic sounds like a plan, expect this in an
upcoming release shortly.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xaksis/vue-good-table/issues/242#issuecomment-380784727,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEETtx1km2E_nBwYl5OmvgXAu2zhMpL3ks5tn0XJgaJpZM4TQv-R
.

This is now available as a table event @on-row-mouseenter and @on-row-mouseleave. table events section also added to the documentation:
https://github.com/xaksis/vue-good-table#table-events

closing.

Amazing thanks for taking that on board, makes it all the better 👍 💯 @xaksis

Was this page helpful?
0 / 5 - 0 ratings

Related issues

enghelewa picture enghelewa  ·  3Comments

davidohlin picture davidohlin  ·  6Comments

dsinibaldi77 picture dsinibaldi77  ·  4Comments

hoanghiep1x0 picture hoanghiep1x0  ·  5Comments

sylvaincaillot picture sylvaincaillot  ·  4Comments