OnRowClick determine column

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

    Posted 25 Apr 2016 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
    2501 posts

    Posted 27 Apr 2016 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.
Back to Top