You just need to specify the <th>
tag when you bind
the click event
.
Updated link:
Here is a simple example.!
Another Update
and here is another example according your requirement you only need to change
this:
$(document).bind('contextmenu', function (event){
$("#contextmenu").kendoMenu({ position: "relative", orientation: "vertical"}).show();
event.preventDefault();
});
to this:
$(".k-header").bind('contextmenu', function (event){
$("#contextmenu").kendoMenu({ position: "relative", orientation: "vertical"}).show();
event.preventDefault();
});