DHTMLX Docs & Samples Explorer

enableRowsHover(mode, cssClass)

Required library edition: This method works with any edition of DHTMLX library
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