[Mono-bugs] [Bug 430954] New: DataGridView: Do net create new row ( with AllowUserToAddRows set to true), if text is set by code to this row

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 30 11:55:24 EDT 2008


           Summary: DataGridView: Do net create new row (with
                    AllowUserToAddRows set to true), if text is set by code
                    to this row
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: apper at apper.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

If the DataGridView.AllowUserToAddRows property is set to true, an extra row
for adding a new data row is displayed to the user. If the user enters
something to a cell of that row, the new row is created and a new "new row" is
displayed under it. This works fine in Mono.

But if the text of a cell in the "new row" is changed by code, the behavior of
Mono differs from .NET. In Mono it's handled, like the user entered the text,
using .NET this doesn't happen. 

The behavior of .NET is (imho) better: Imagine a read-only column, in which a
row number is displayed by code. If you want to display a number for the "new
row" (maybe in gray...), it's not possible using Mono (only emulating the
AllowUserToAddRows property may help).

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