I have a grid, I want to fire the event edit like I'm clicking the edit button to fire the popup edit template, but without clicking it with the mouse but programatically. I this posible?
I tried trigger it on the databound event like this:
for (var i = 0; i < rows.length; i++) {
if(Myid == theIdOntheRow)
{
$(rows[i]).addClass('k-state-selected');
var btnEdit = $(rows[i]).find(".k-grid-edit");
btnEdit.trigger('click');
...
I hope there are a clenear way to do this. Thanks