Hi!
I have a problem with the grid selection feature. When I select multiple rows, and I have subscribed to the @change event on the Kendo Vue Grid, the event returns the proper row keys. But when i deselect one of the rows, an empty array is returned, while there are still rows selected (minus the one I have just deselected). The behaviour I would expect is for the event to return al currently selected rows, not an empty array. Does anyone have a solution to this? I need the information to bind to another component. Any help would be greatly appreciated! Below
<template>
<kendo-grid
id=
"grid"
ref=
"gridRef"
:data-source=
"dataSource"
:columns=
"columns"
:resizable=
"resizable"
:filterable=
"filterable"
@change=
"onChangeSelection($event)"
>
</kendo-grid>
</template>
// Event Handler
onChangeSelection(event: any) {
console.log(event.sender.selectedKeyNames()); //Returns '[]' instead of [1, 2, 3 ...] when there are stil rows selected
this
.selectedKeys = event.sender.selectedKeyNames();
}