Mouse over cell Jquery?

2 posts, 0 answers
  1. Aron
    Aron avatar
    13 posts
    Member since:
    Apr 2015

    Posted 30 Jul 2015 Link to this post

    How do i call a jquery function when the user hovers over a cell in the gridview? I can't seem to find any events supported in the control itself. please help.
  2. Eyup
    Admin
    Eyup avatar
    3699 posts

    Posted 03 Aug 2015 Link to this post

    Hello Aron,

    You can use the following approach to achieve this requirement:
    <ClientSettings>
        <ClientEvents OnRowMouseOver="rowMouseOver" />
    </ClientSettings>
    JavaScript:
    function rowMouseOver(sender, args) {
        var cell = $(args.get_domEvent().target).closest("td");
        alert(cell.text());
    }

    Hope this helps. Please give it a try and let me know about the result.

    Regards,
    Eyup
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top