How to set the trigger only for the third column td,not all the td in a grid?
I had set all the td like this:
my.contextMenu({
trigger: '#Grid td ',
rightButton: true,
menu: '#testMenu',
callback: ctxCallback
});
1 Answer, 1 is accepted
0
Accepted
Vladimir Iliev
Telerik team
answered on 17 Apr 2013, 01:19 PM
Hi,
I would suggest to use the following jQuery selector to achieve the desired behavior:
$("#Grid tbody tr td:nth-child(3)")
Kind Regards,
Vladimir Iliev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!