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
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.
Also I am using Selection behavior in Row mode:
<ig:Selection CellClickAction="Row" CellSelectType="None" RowSelectType="Multiple" >
</ig:Selection>
Same thing happen in a single-cell select mode. Sell is getting selected, but entire row scrolls to the left moving selected cell off-screen. Help!
You need to tell your users to turn off "Recover From Page Error Layouts using Compatability Mode" in IE (Internet Options, Advanced, under Browsing).