vue-table icon indicating copy to clipboard operation
vue-table copied to clipboard

this.$refs.vuetable.selectedTo

Open lemonpigpig opened this issue 8 years ago • 1 comments

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

lemonpigpig avatar Oct 21 '16 09:10 lemonpigpig

@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:'

ratiw avatar Oct 21 '16 14:10 ratiw