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

[Solved] on row mouse over event

2 Answers 25 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Maxim
Top achievements
Rank 1
Maxim asked on 19 Mar 2012, 04:36 PM
Hello!

I'm using mvc grid control.
Is there any posibility to handle on row mouse over event in javascript?

Thanks,
Max

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 20 Mar 2012, 12:17 PM
Hi Max,

Such event is not exposed by the Grid itself, but you can subscribe to it manually, using standard Javascript / jQuery methods, as you would do it with an ordinary <table>.

Greetings,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Maxim
Top achievements
Rank 1
answered on 21 Mar 2012, 05:37 PM
Thanks!

I subscribed on hover event after grid data bound and it worked:

function SubscribeOnRowMouseOver() {
 
    var rows = $('.t-master-row');
 
    $(rows).hover(
        function () {
 
            alert('in');
        },
        function () {
 
            alert('out');
        }
 
    );
}
Tags
Grid
Asked by
Maxim
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Maxim
Top achievements
Rank 1
Share this question
or