Re: DataGridView Readonly on Cell or Row ignored?
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Hi
> I'm feeling like a total idiot at the moment. We're building an app in
> .NET 2.0 beta 2, and no matter how hard I try, I can't get a
> DataGridView to accept ReadOnly = true on a cell or row.
I don't use .NET 2.0, but it seems like DataGridView is similar to .NET
1.1 DataView - try setting 'AllowEdit' property to 'false'. It locks all
the view not a single row however...
Cheers,
Piotrek
.
Relevant Pages
- Buggy Datagridview?
... I and another developer have created an app that uses a datagridview to ... display market information. ... As soon as a new value is written to the cell it also cures both of these ... (microsoft.public.dotnet.languages.csharp) - RE: Buggy Datagridview?
... display market information. ... another app on a server that feeds the messages through msmq to the display ... As soon as a new value is written to the cell it also cures both of these ... It seems like a .net bug or bug in the datagridview object. ... (microsoft.public.dotnet.languages.csharp) - Re: DataGridView Enter Key
... ProcessDialogKey method in the DataGridView, that is where the Enter key was ... is that the DataGridView key events are not being raised, because the cell ... trap the Enter key when the current cell in edit mode. ... press the Enter key, the KeyDown, KeyPress and KeyUp events are raised in ... (microsoft.public.dotnet.framework.windowsforms.controls) - Re: Excel hangs
... Yup there is quite a lot more to the app - as described in the original post ... the cell F10 is another test cell. ... step over the line and autocalc seems to kick in and bang - dead. ... Also I think you may try to post the Debug.print in the loop. ... (microsoft.public.excel.programming) - Re: DataGridRowView.ContextMenuStrip
... Erst in der richtigen Cell die rechte Maustaste. ... Wobei ich hier zum Testen ein DataGridView mit Standardeinstellungen ... der Code hat aber die vom Linksklick. ... (microsoft.public.de.german.entwickler.dotnet.vb) |
|