This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// About: By default, a Kendo grid with locked column(s) will only highlight a row on hover in either the scrollable | |
// columns, or locked columns; not both. Placing this binding in the $kGrid.dataBound() event will enable | |
// highlighting the entire row at once. | |
// Author: Zak MacDonald <http://github.com/zakmac> | |
// JSBin: http://jsbin.com/qenehifoli/edit?js,output | |
// Note: Since dataBound can be invoked multiple times, we unbind with $.off() before binding with $.on(), for better | |
// or worse; You may also want to unbind in the $kGrid.remove() event. | |
$('#my-k-grid').off('mouseenter mouseleave').on('mouseenter mouseleave', 'tr', function(event) { | |