Hi,
I'm using Visual Studio 2005, with C#.
I have a datagridview with a modified checkboxcolumn, I have a class that inherits from Checkboxcolumn, and add a textfield to it. My problem is that when the user selects the checkbox the datagridview automatically adds one new row to the DataGridView.
Any ideas of what might be wrong
Thanks in advance for your help.
Regards
Luis Filipe de Sousa

CheckBoxColumn Problem
Buccaneer
Hojgaard
Hi.
Actually the problem isn't with my custom control.
I'm using the grid in the unbound mode, and I always got an extra row at the end of the grid. I checked my datasource and it don't have an extra blank row.
After some googling I found the answer, I must set the property AllowUserToAddRows to false, this way I don't get the extra blank row when I complete the datagridview. If I don't have the extra blank line the user can't insert new rows.
I hope this can help someone in the future.
Best regards
Luis Filipe de Sousa