Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 08 at 09:42 AM

    Hi! Use attachBrowserEvent method of control:

    oTable.attachBrowserEvent('dblclick', function(){
      sap.m.MessageToast.show('Doubleclicked!')
    })
    
    Add comment
    10|10000 characters needed characters exceeded