This is a migrated thread and some comments may be shown as answers.

Mouse over cell Jquery?

1 Answer 4 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Aron
Top achievements
Rank 1
Aron asked on 30 Jul 2015, 09:48 AM
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.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 03 Aug 2015, 11:04 AM
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
Tags
Grid
Asked by
Aron
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or