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

Hierachy listening on click of dropdown arrow

1 Answer 22 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chandler
Top achievements
Rank 1
Chandler asked on 27 Jan 2014, 03:57 PM
How does one listen on clicks on the dropdown arrow that's generated by the hierachy grid?

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 29 Jan 2014, 08:45 AM
Hello Chandler,

Here is an example how you can wire a handler for click event:
var gridInstance = $("#grid").data("kendoGrid");
 
gridInstance.table.on("click", ".k-hierarchy-cell .k-plus, .k-hierarchy-cell .k-minus"function(e) { 
 console.log("clicked");
});


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
Chandler
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or