DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### enableRowsHover(mode, cssClass)

Required library edition:
Required library file: dhtmlxgrid.js

enable/disable hovering row on mouse over

- mode - true/false
- cssClass - css class for hovering row

    <style>
    	.hover {
    		background-color: navy;
    	}
    </style>
    <script>
       mygrid.enableRowsHover(true,"hover");
    </script>

See also: enableLightMouseNavigation, enableAlterCss, enableTooltips