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

Uncaught TypeError:Object #<HTMLTableRowElement> has no method 'dblclick'

1 Answer 19 Views
Grid
This is a migrated thread and some comments may be shown as answers.
C
Top achievements
Rank 1
C asked on 22 Sep 2013, 12:40 PM
Uncaught TypeError
if (menuItemValue == "Edit") {
                               Grid.get_masterTableView().get_dataItems()[document.getElementById("radGridClickedRowIndex").value].get_element().click();
                           }
the code above works,but when i change in into this  "Grid.get_masterTableView().get_dataItems()[document.getElementById("radGridClickedRowIndex").value].get_element().dblclick();",I get excption that "Uncaught TypeError:Object #<HTMLTableRowElement> has no method 'dblclick'".

1 Answer, 1 is accepted

Sort by
0
Venelin
Telerik team
answered on 25 Sep 2013, 03:16 PM
Hello,

The JavaScript error is due to the fact that DOM elements don't have "dblclick()" method. If you share what your requirement is I would be able to provide the proper solution to your case.
 
Regards,
Venelin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
C
Top achievements
Rank 1
Answers by
Venelin
Telerik team
Share this question
or