c# - datagridview pans on clicking a cell -


i have winforms application has datagridview control. now, when click on cell in datagridview control, view shifts/pans datagridview control, such cell selected more or less in centre of screen. there way disable this? users find irritating.

the data gridview needed show colour codes (i.e. no text) , tooltips each cell. have tried

datagridview1.enabled = false; 

this solves problem, however, can no longer view tooltip text. there other work-around? possible prevent user clicking on cell in first place prevent this?


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -