Click here to Skip to main content
15,936,903 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I have Datagridview with horizontal scroll bar with 25 columns when I keep scroll bar at middle and selected a visible cell of grid scroll bar is moving left and selected cell is being displayed extreme end on right side.
How can we prevent the scroll bar movement while selecting the cell with in the visible region of grid.

Thanks in Advance.....
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900