:: Forum >>

.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)
Wednesday, December 17, 2014
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)
Tuesday, December 23, 2014
Thanks Alex,

We'll implement and report back
Thierry Nivelet (http://FoxInCloud.com/)
Wednesday, December 24, 2014
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/)
Friday, December 26, 2014
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/)
Friday, December 26, 2014

This topic is archived.


Back to support forum

Forum search