Hi I'm having the following problem with both the WebDataGrid and WebHierarchicalGrid:
If the height of the grid exceeds the height of the page, when a row is selected the page automatically scrolls to the header of the grid. If this feature of the grid, it's extremely annoying. Is there a way to turn it off? It forces users to continually scroll back up the page to access the toolbar above the grid.
As a workaround I could capture the grids mouseup event and use window.scrollTo(0,0); but it would make the whole experience very jumpy.
I'm using version 10.3 with service release 2056
I see the same behavior using both Google Chrome and in Internet Explorer 8 (In normal mode, IE 7 mode and compatibility mode)
Hi IntegraXP,
I'm guessing that you do not have the Activation behavior turned on? If this is true, it most likely is trying to focus the grid's div. In those browsers you mention, it tries to scroll the top of the focusing element into view. If you turn on activation, it will focus the cell and the problem should disappear.
regards,David Young
Thanks for the quick reply, enabeling Activation solved the problem
I have a somewhat similar scenario. The grid has many columns, so the page has horizontal scroll bar as well. If I scroll to the right and select a row - grid scrolls all the way to the left. Is there any way to have grid to keep the horizontal scroll position (besides repositioning it back after the fact) ?
Thanks!
Did you turn on Activation?
Thanks for the prompt reply. Yes, activation behavior is on, I haven't specified any properties though, just
<ig:Activation> </ig:Activation>
And the grid keeps vertical scroll position just fine. But horizontal gets reset after selection.