I tried the below and i still don't see the row being highlighted. I am using RowSelectionModel. when i click on a row on slick grid it highlights fine. i just need to mimic the click on row behaviour on first row.
$("#txtMarket").on("keyup", function (event) {
if (event.keyCode === 13) {
self.SlickGrid.focus();
self.SlickGrid.resetActiveCell();
self.SlickGrid.setSelectedRows([0]);
self.SlickGrid.onClick.notify({ row: 0 });
}
});
No errors are displayed and no row becomes highlighted/selected
using jquery solved it.
$(".slick-cell:first").click();