capture mouse events in column headers
Hello,
to capture mouse events in column headers i did the following:
obj.getTemplate("top/item").setEvent("onmousedown", mouseDown);
obj.getTemplate("top/item").setEvent("onmouseup", mouseUp);
this works perectly well with ie, the mousedown event occurs in the correct column and the mouseup event occurs in the column where i release the mouse.
but with firefox the mouseup event occurs in the same column where i had the mousedown event, this happens only when i click on a part of the header with no text, when i click the text it works with firefox too.
the grid seems to capture all mouse events and i'm not able to determine on what column the mouse has been released.
i really need a solution for that, please help, thanks a lot!
to capture mouse events in column headers i did the following:
obj.getTemplate("top/item").setEvent("onmousedown", mouseDown);
obj.getTemplate("top/item").setEvent("onmouseup", mouseUp);
this works perectly well with ie, the mousedown event occurs in the correct column and the mouseup event occurs in the column where i release the mouse.
but with firefox the mouseup event occurs in the same column where i had the mousedown event, this happens only when i click on a part of the header with no text, when i click the text it works with firefox too.
the grid seems to capture all mouse events and i'm not able to determine on what column the mouse has been released.
i really need a solution for that, please help, thanks a lot!
Gernot
September 12,