Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80468 --- shadow/80468 2007-01-06 15:03:22.000000000 -0500 +++ shadow/80468.tmp.8712 2007-01-06 15:03:22.000000000 -0500 @@ -0,0 +1,60 @@ +Bug#: 80468 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: DataGridBoolColumn not shown + +To reproduce, run the code + +Observed: + +(null) in column + +Expected: + +Column must contain checkbox. Space bar must toggle checkbox between two +states. + + +Code: + + +using System.Windows.Forms; +using System.Data; +static class Program { + static void Main() { + Application.Run(new Frm()); + } +} + +class Frm : Form { + public Frm() { + DataTable table = new DataTable(); + DataColumn column1 = new DataColumn(); + DataGrid grid = new DataGrid(); + grid.Dock = DockStyle.Fill; + table.Columns.Add(column1); + Controls.Add(grid); + table.Rows.Add(); + + DataGridTableStyle tableStyle = new DataGridTableStyle(); + DataGridColumnStyle colStyle = new DataGridBoolColumn(); + ((DataGridBoolColumn)colStyle).AllowNull = false; + colStyle.MappingName = "Column1"; + tableStyle.GridColumnStyles.Add(colStyle); + grid.TableStyles.Add(tableStyle); + grid.DataSource = table; + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
