I have a grid with the following information:
<ejs-grid
id="reportGrid"
ref="reportGrid"
:allowSelection="true"
:dataSource="articles"
:rowSelected="onRowSelectedPubs"
:toolbar="toolbarOptions"
:allowTextWrap="true"
:allowExcelExport="true"
:allowPdfExport="true"
:recordDoubleClick="pubDoubleClick"
:selectionSettings="selectOptions"
:toolbarClick="toolbarClick"
>
And I need to select a row via code. I have tried
var obj = $("#reportGrid").data("ejs-grid");
obj.selectRow(5, true);
and
this.$refs.reportGrid.selectRow(0);
the information at
https://ej2.syncfusion.com/vue/documentation/api/grid/?_ga=2.115438726.1453351565.1573582025-616283409.1556326607#selectrows
does not give very much help