Bug 471987

Summary: DataGridView. Empty Rows don't add default Cells
Product: [Mono] Mono: Class Libraries Reporter: Mario Carrion <mcarrion>
Component: Windows.FormsAssignee: Forgotten User CRPsQFwJ3b <forgotten_CRPsQFwJ3b>
Status: RESOLVED FIXED QA Contact: Mono Bugs <mono-bugs>
Severity: Normal    
Priority: P5 - None    
Version: SVN   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 468504    
Attachments: Example

Description Mario Carrion 2009-02-03 15:54:04 UTC
Created attachment 269688 [details]
Example

1. Compile attached code.
2. Run.
3. Click "Add row" button.

.NET Output:

Action: Add Cells.Count: 2 ColumnCount: 2 Columns.Count: 2

Mono OuTput:

Action: Add Cells.Count: 0 ColumnCount: 2 Columns.Count: 2
Comment 1 Forgotten User CRPsQFwJ3b 2009-02-03 18:47:39 UTC
The cells are added, but they are added after you hande the CollectionChanged. I will fix that.
Comment 2 Forgotten User CRPsQFwJ3b 2009-02-03 19:43:59 UTC
Fixed in r125585 in trunk and in r125587 in 2.4 branch.