OnRowClick determine column

2 posts, 0 answers
  1. Jon
    Jon avatar
    811 posts
    Member since:
    Oct 2008

    Posted 25 Apr Link to this post

    Hi, I have a client rowclick event and also a checkbox column - how do you use both together without the checking causing a rowclick event - or how do I determine the column clicked inside the rowclick so I can ignore the event when it is in the checkbox column.



  2. Viktor Tachev
    Viktor Tachev avatar
    1438 posts

    Posted 27 Apr Link to this post

    Hi Jon,

    Clicking on the checkbox should not trigger the RowClick event. This event should be raised only when you click outside the checkbox.

    With that said, in order to determine what cell was clicked you can use the following approach:

    function rowClick(sender, args) {
        var clickedCellElement = args.get_domEvent().rawEvent.target;

    Viktor Tachev
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top