cancel
Showing results for 
Search instead for 
Did you mean: 

Shortcut Keys - double click event inside sap.m.table not working.

0 Kudos

Hi All,

In my scenario i'm trying to trigger .dbclick() when click on records in the table.

But its not triggering the event. Please find the code i have written.

handleSelectionChange : function(oEvent){

$("#idProductsTable").dblclick(function(){

alert("The paragraph was double-clicked");

});

Any help on this would be great. Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member233511
Participant
0 Kudos

Hi! Use attachBrowserEvent method of control:

oTable.attachBrowserEvent('dblclick', function(){
  sap.m.MessageToast.show('Doubleclicked!')
})
0 Kudos

Thank you Efim Parshin. Its working:-)

Answers (0)