3.0 beta 2

.MouseMove() support?

Looks like AW does not dispatch .MouseMove() at the control or cell levels ...

this code does nothing for me:
oGrid.onControlMouseMove = function (event){...};
oGrid.onCellMouseMove = function(event, col, row){...};


Did I miss something?

Thanks,
Thierry Nivelet (FoxInCloud)
December 17,
AW does not dispatch mousemove events by default. You can still assign event handler directly via setEvent method -

/aw.system.html/setevent.html

Alex (ActiveWidgets)
December 23,
Thanks Alex,

We'll implement and report back
Thierry Nivelet (http://FoxInCloud.com/)
December 24,
Hi Alex,

Re-reading your suggestion,

I understand how .setEvent() works at the grid level, not so much at the cell level ... Should I use this?

obj.getCellModel(col).setEvent(...)
Thierry Nivelet (http://FoxInCloud.com/)
December 26,
Alex,

Just tested this in FireFox, nothing happened when moving mouse over the grid control
oGrid.setEvent('onmousemove', function(event){console.log('é');})


Thanks,
Thierry Nivelet (http://FoxInCloud.com/)
December 26,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.