Is there any way to select a grid row from code so you can trigger the selectionChange event emitter? I don't know how to get hold of the grid component and execute the event manually.
Selection grid sample plunkr
<kendo-grid [data]="gridView" [selectable]="true"></kendo-grid>
--
Edit: If I access the grid manually by adding a #gridReference tag into the kendo-grid tag, I can access the component using
@ViewChild('activityGrid') gridReference: GridComponent;
But when executing
var selectionEvent = { index: 0, selected: false } as SelectionEvent;
this.gridReference.selectionChange.emit(selectionEvent);
It still doesn't work. It migth work when I have to access the SelectionService
using unselect
but that's a private class.
Updated plunkr