This is a migrated thread and some comments may be shown as answers.

DoubleClick on grid row not working

1 Answer 436 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Multi Digital
Top achievements
Rank 1
Multi Digital asked on 08 Nov 2013, 10:29 AM
Hello, 

I have experienced the problem that I am not able to get fired a double click event using the following code:

$("#md-contentGrid tbody > tr[data-uid]").bind('dblclick', function (e) { alert(); });

However, firing a doubleclick event on the whole table body is working. As soon as I add the tr tag in the selection string the event is not properly bound.
$("#md-contentGrid tbody").bind('dblclick', function (e) { alert(); });
As you can see in the attached screenshot jQuery should match the html structure.

Can you tell what I am doing wrong?
Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 08 Nov 2013, 12:42 PM
Hello Andreas,

Both selectors seems to be working for me: http://jsbin.com/IrIQIrE/1/edit

Regards,
Nikolay Rusev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Multi Digital
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or