Undesired sort-behaviour in grid 2.5.3 with IE
if the IE window's height is less than the grid, the focus jumps to middle of the grid upon clicking on the grid header (for sort purposes):
<html> <head> <link rel="stylesheet" type="text/css" href="./runtime/styles/xp/aw.css"></link> <script src="./runtime/lib/aw.js"></script> </head> <body> <script> var obj=new AW.UI.Grid var myCells=[,,,,,,,,,,,,,,,,,,,,] obj.setColumnCount(1) obj.setRowCount(21) obj.setControlSize(400,406) obj.setCellData(myCells) document.write(obj) </script> </body> </html>
This behaviour doesn't occur in Mozilla Firefox at all. With Firefox the focus remains on the grid's header - which is the desired behaviour.
This bug has been described before, but hasn't been fixed 100%:
Thank you in advance for you assistance!
does anyone have a suggestion how to approach this tricky issue? For my project, this is a no-go for upgrading to 2.5.3!
Thank you in advance for any kind of reply.
The grid must receive a focus anyway. The grid will not run any actions unless it has keyboard focus (this is by design).
The problem occurs only if the IE browser window is less high than the grid (vertical IE scrollbar appears). Upon clicking two times in a row on the colum header for sorting purposes, the IE automatically jumps to the vertical middle of the page/the grid. This is an undesired behaviour, Firefox works as desired.
Thank you in advance for your reply.
did anybody check my code with IE and Firefox? There ought to be a workaround.
Thank you for any kind of reply
can anybody at least reproduce the behaviour described in this thread. There's possibly something really wrong about how I try to tackle this problem.
can anybody please try to reproduce the behaviour described and confirm/confute my description? It's easy: Just make the IE window less high than the ActiveWidgets grid itself and click twice on the grid header for sort purposes.
I'm grateful for ANY reply - positive or negative!
thank you very much for responding to my last posting and confirming and explaining the IE behaviour.
I'd really like to take advantage of the increased performance & new features and switch to ActiveWidgets 2.5.3.
Thank you in advance,
does anybody have a new ideas how to "attach the event handler to the page onscroll event"?
Thank you in advance for your support.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.