vue-table
vue-table copied to clipboard
this.$refs.vuetable.selectedTo
var tableColumns = [{
name: '__checkbox:
}]; i find ' this.$refs.vuetable.selectedTo' is undefined,and why i click the checbox of a row of table can select all instead of the row i selected
@lemonpigpig You have to specify the unique key for your __checkbox:<key>
as well. In my example, the unique key is id
field, so it must be specified as __checkbox:id
.
The above code you provide seems incorrect. --> name: '__checkbox:'