Re: DataGridView setting column width problem
sa5webber <[email protected]> Sat, 24 Mar 2012 09:36:08 -0700 (PDT)
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the response and offer. Fortunately I found a work around although I might still take you up on your offer later. At the moment I'm on a deadline and I need to just get this stuff working. It turns out the bug wasn't quite as bad as I thought. I had set AutoGenerateColumns = true, let my datatable populate the datagrid and then resize the columns as shown in my previous post. As I said in my previous post this works fine in MS.net but not in mono. Mono seems to ignore the resize when AutoGenerateColumns = true. The solution was to set AutoGenerateColumns = false. Create the columns myself and set the DataPropertyName = field in my datatable. -- View this message in context: http://mono.1490590.n4.nabble.com/DataGridView-setting-column-width-problem-tp4491058p4501660.html Sent from the Mono - WinForms mailing list archive at Nabble.com. _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list