[Mono-bugs] [Bug 80468][Nor] Changed - DataGridBoolColumn not shown
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Jan 20 06:52:10 EST 2007
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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=80468
--- shadow/80468 2007-01-16 11:23:55.000000000 -0500
+++ shadow/80468.tmp.20115 2007-01-20 06:52:10.000000000 -0500
@@ -55,6 +55,49 @@
colStyle.MappingName = "Column1";
tableStyle.GridColumnStyles.Add(colStyle);
grid.TableStyles.Add(tableStyle);
grid.DataSource = table;
}
}
+
+------- Additional Comments From gert.driesen at pandora.be 2007-01-20 06:52 -------
+After Toshok's latest changes, the checkbox is now displayed.
+However, on MS it is checked and grayed out by default.
+
+Also, clicking on the second row yields the following error:
+
+System.IndexOutOfRangeException: Array index is out of range.
+ at System.Data.DataView.get_Item (Int32 recordIndex) [0x00000]
+ at System.Data.DataView.System.Collections.IList.get_Item (Int32
+recordIndex) [0x00000]
+ at System.Windows.Forms.CurrencyManager.get_Item (Int32 index)
+[0x00000]
+ at System.Windows.Forms.DataGridColumnStyle.SetColumnValueAtRow
+(System.Windows.Forms.CurrencyManager source, Int32 rowNum,
+System.Object value) [0x00000]
+ at System.Windows.Forms.DataGridBoolColumn.SetColumnValueAtRow
+(System.Windows.Forms.CurrencyManager lm, Int32 row, System.Object
+obj) [0x00000]
+ at System.Windows.Forms.DataGridBoolColumn.Commit
+(System.Windows.Forms.CurrencyManager source, Int32 rowNum) [0x00000]
+ at System.Windows.Forms.DataGrid.EndEdit
+(System.Windows.Forms.DataGridColumnStyle gridColumn, Int32
+rowNumber, Boolean shouldAbort) [0x00000]
+ at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.DataGrid:EndEdit
+(System.Windows.Forms.DataGridColumnStyle,int,bool)
+ at System.Windows.Forms.DataGrid.EndEdit () [0x00000]
+ at System.Windows.Forms.DataGrid.ScrollToColumnInPixels (Int32
+pixel) [0x00000]
+ at System.Windows.Forms.DataGrid.EnsureCellVisibility (DataGridCell
+cell) [0x00000]
+ at System.Windows.Forms.DataGrid.set_CurrentCell (DataGridCell
+value) [0x00000]
+ at System.Windows.Forms.DataGrid.OnMouseDown
+(System.Windows.Forms.MouseEventArgs e) [0x00000]
+ at System.Windows.Forms.Control.WndProc
+(System.Windows.Forms.Message& m) [0x00000]
+ at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000]
+ at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000]
+
More information about the mono-bugs
mailing list