Simulate a click for selectRow() method?

Hello, DHX friends,

I just discovered that

myGrid.selectRow(someRowId);

doesn’t fire the event

myGrid.attachEvent("onRowSelect", function(id){ . . . });

Is it possible to programmatically simulate a click using the selectRow() method, please?

Thank you!

Ajaxian

Just use the second parameter of the command

myGrid.selectRow(someRowId, true); //will fire the event

docs.dhtmlx.com/api__link__dhtm … ctrow.html

Oh, that’s great, Stan! Thank you!!!