Re: DataGridView setting column width problem

Taurian <[email protected]> Mon, 3 Feb 2014 07:28:06 -0800 (PST)
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
Hey Webber,

I'm trying to use your fix, but not having any luck. I've turned off
AutoGenerateColumns, but I'm not using a data table:

            dataGridView1.Columns.Add("Server_type", "Gametype");
            dataGridView1.Columns.Add("Server_maxplayers", "Players");
            Invoke((Action)(() => dataGridView1.Columns[0].Width = 20)); //
Does not work with Mono - Mac

Do you(or anyone) have any ideas?



--
View this message in context: http://mono.1490590.n4.nabble.com/DataGridView-setting-column-width-problem-tp4491058p4661837.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