This is a migrated thread and some comments may be shown as answers.

Scroll jitter

1 Answer 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 02 Apr 2009, 06:23 PM
I have a panel with AutoScroll = true.
Inside of this panel i have another panel with a grid docked to fill inside of it. lets say the height is 500px.
(Note: the panel is resized in the codebehind as needed depending on the row count, so its a growable panel but I don' think that will matter for replication).

When the main panel has a height of greater than 500px, you can tab between the cell just fine (even if the scroll bar is showing because you have other stuff in the main panel).

If you change the size of your panel to be less than 500 , so all the rows in the grid cant be displayed at once, there is a weird scrolling issue. When tabbing along the bottom rows the scrollbar moves up and then back down immediately causing the grid to "shake" / "jitter" / "bounce".

Any input on how to fix this issue would be great! thanks ahead of time.

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 06 Apr 2009, 06:56 AM
Hello Brandon,

This is because of the logic inside the panel. When you click on a control that is partially visible, the scrolling logic attempts to make the whole control visible. You will achieve the same effect when using the standard MS DataGridView or any other control. Actually, we don't have a work around for this scenario.

If you have other questions, we will be glad to assist you.

Greetings,
Jack
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Brandon
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or