:: Forum >>

capture mouse events in column headers


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!
Monday, September 12, 2005
hasn't anyone got a hint for me?
alex, are you there?

please help, i really got to solve this problem!

many thanks in advance.
Tuesday, September 13, 2005
what is it you are trying to do?

if you are trying to drag the coloumns there is already a sample by a user

Wednesday, September 14, 2005

This topic is archived.

Back to support forum

Forum search