https://bugzilla.novell.com/show_bug.cgi?id=457050
Summary: DataGridView: AllowUserToAddRows doesn't allow
programmatic addition of rows
Product: Mono: Class Libraries
Version: SVN
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Created an attachment (id=258441)
--> (https://bugzilla.novell.com/attachment.cgi?id=258441)
autocolumnsmode and AllowUserToAddRows interaction in DataGridView
The documentation
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.allowusertoaddrows.aspx
says that DataGridView.AllowUserToAddRows "Gets or sets a value indicating
whether the option to add rows is displayed to the user."
But when I set it there are cases when I can't add rows elsewhere in the
program.
In the test program (attached) if I set dgv.AllowUserToAddRows = false; after
the rows are added then they display ok.
But if I set it before then they don't display.
However if dgv.AutoSizeColumnsMode is
System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill or None then they do
display in either case.
With AllCellsExceptHeader, DisplayedCells, DisplayedCellsExceptHeader,
ColumnHeader, AllCells they don't
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs