having the following problem with both the WebDataGrid and WebHierarchicalGrid:
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.
workaround I could capture the grids mouseup event and use
window.scrollTo(0,0); but it would make the whole experience very jumpy.
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)
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.
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) ?
Did you turn on Activation?
Thanks for the prompt reply. Yes, activation behavior is on, I haven't specified any properties though, just
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" >
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!