Open lemonpigpig opened 8 years ago
@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:'
var tableColumns = [{ name: '__checkbox:',
title: '',
dataClass: 'text-center',
titleClass: 'text-center',
}]; 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