datagrid woes

J

Jesse Aufiero

Hi all,

I have a disabled datagrid on my form. Disabling it was, it seemed, the
only way to prevent the user from being able to change the selected row or
modify the appearance of the grid in any way.

The problem is that I need working scrollbars on this grid, and disabling
the grid also disables the scrollbars.

Is there a way to get the grid to behave as though it were disabled, except
for it's scrollbars?

Thank you,
Jesse
 
J

Jesse Aufiero

thanks, but what i'm after here is not a restriction on the editability of
the data in the grid, but on the appearance changes that a user can make by
clicking here and clicking there. Rows get highlighted, cells get
highlighted and have a dotted border around them. Scrolling is possible if
the user touches low enough on the bottom row. All these things I want to
prevent... and yet still have scrollbar functionality.
 
K

Ken Tucker [MVP]

Hi,

Maybe this will help
http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q855q

Ken
-------------
Hi all,

I have a disabled datagrid on my form. Disabling it was, it seemed, the
only way to prevent the user from being able to change the selected row or
modify the appearance of the grid in any way.

The problem is that I need working scrollbars on this grid, and disabling
the grid also disables the scrollbars.

Is there a way to get the grid to behave as though it were disabled, except
for it's scrollbars?

Thank you,
Jesse
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top