Skip to Content
0

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

Feb 08 at 03:55 AM

27

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Efim Parshin Feb 08 at 09:42 AM
0

Hi! Use attachBrowserEvent method of control:

oTable.attachBrowserEvent('dblclick', function(){
  sap.m.MessageToast.show('Doubleclicked!')
})
Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thank you Efim Parshin. Its working:-)

0