R
R
Ruslan Dasaev2020-02-11 21:42:39
Vue.js
Ruslan Dasaev, 2020-02-11 21:42:39

How to set table row select event hovering from bootstrap vue?

Hello. Interested in whether it is possible in the bootstrap-vue component b-table https://bootstrap-vue.js.org/docs/components/table... (see interactive table) to configure it so that select can only be done on certain strings, for example, whose errors field contains an empty array? If you need to write custom code, please give me a tip on how this can be implemented.
Thank you for your attention.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
coderisimo, 2020-02-11
@Cloud47

It was with this component that I did not work, but everything seems obvious.
For example, you have

onRowSelected(items) {
        this.selected = items
      },

where you can filter items before this.selected = items (it's an array!) and leave in it only those lines that HAVE the RIGHT to be selected.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question