[Mono-bugs] [Bug 457050] New: DataGridView: AllowUserToAddRows doesn' t allow programmatic addition of rows
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Dec 6 11:50:21 EST 2008
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: mono-bugs at lists.ximian.com
ReportedBy: dglassey at gmail.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list