[Mono-list] DataGridViewTextBoxColumn ignores "Visible" property?

Jonathan Pobst monkey at jpobst.com
Thu Jun 5 16:53:37 EDT 2008


Your forum link is for DataGrid, not DataGridView.

DataGridView has been in heavy development since 1.9.  I think this is 
one of the things I have implemented since then.  You can try building 
the latest source from SVN, or if that is too hard, you can send a small 
test case and I will verify that it works with the stuff that will ship 
in Mono 2.0.

Thanks!
Jonathan


rhornsby wrote:
> Apologies, I'm new to C# and even newer to Mono.  I've got a simple
> application right now with some checkboxes and a datagrid (with just
> headings, no columns or data yet).  Toggling the checkbox is supposed to
> toggle the visibility of a corresponding Datagrid column.  This seems to
> work fine in Windows/.Net, but not in Mono (latest OS X package or the SuSe
> VMWare image).
> 
> private System.Windows.Forms.DataGridViewTextBoxColumn dgColVspeed;
> 
> I've been able to confirm that the toggle event is taking place, and that I
> can make the toggle cause one of the other checkboxes to disappear. 
> However, the datagrid columns remain visible regardless.  I've also noticed
> that even if I set the property in the code where the element is being
> created and the rest of the properties (format,name, etc) are being set,
> "visible" is ignored.  Is this just an unsupported operation?
> 
> I found this
> http://www.nabble.com/-Mono-dev--Mono-1.1.9-broken-DataGrid-tp872361p872361.html
> but it was from several versions ago, so I don't think it applies now?
> 
> thanks guys
> -rj



More information about the Mono-list mailing list