All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:RadGrid
ID
=
"myRadGrid"
runat
"server"
>
ClientSettings
EnableRowHoverStyle
"true"
ClientEvents
OnRowMouseOver
"RowMouseOver"
OnRowMouseOut
"RowMouseOut"
/>
</
MasterTableView
Columns
. . . . . .
<script type=
"text/javascript"
function
RowMouseOver(sender, eventArgs) {
$get(eventArgs.get_id()).className +=
" RowMouseOver"
;
}
RowMouseOut(sender, eventArgs) {
var
row = $get(eventArgs.get_id());
row.className = row.className.replace(
,
);
</script>
<style type=
"text/css"
div.RadGrid .rgHoveredRow
{
/* change the background colour for hovered rows */
background
: Red;
.RowMouseOver td
background-color
: Red
!important
.RowMouseOut
: inherit;
</style>