Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
How to handle mouse move over event
posted

Hi ,

I want a simple example to handle the mouse move over event and change the color of the row in a grid.

I have a client side events added like this

<ClientSideEvents CellClickHandler="GridCell_Click"

ColumnHeaderClickHandler="GridHeader_Click"

MouseOverHandler="ReportGrid_MouseOver"

>

function ReportGrid_MouseOver(gridName, cellId,objectType)

{

alert(
'moouse over');

var cell = igtbl_getCellById(cellId);

cell.Element.style.backgroundColor = "#99FFFF";

cell.style.cursor = 'hover';

}

But the above method is never getting fired nor the colors are changing when I move the mouse over the grid.

Any kind of suggestion is appreciated.