أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
,the background color should change black and cursor should be pointed. If there are no data in the cell or if the cell is blank,there should be no hover applied on the cell and mouse pointer should be normal
You could also use pure css - depends what browsers you are supporting:
table td:hover:not(:empty){ background: red;}