Removing datagrid row

  • Thread starter Thread starter FusionGuy
  • Start date Start date
F

FusionGuy

I have a Windows Forms app with a datagrid that binds to an XML data island.
Upon double-clicking a row in the grid, I want that row to simply disappear
WITHOUT having to rebind. What's the easiest way to do this? Thanks.
 
If the DataGrid is bound, you will need to remove the row from the data
source. The control will automatically update. You can not simply hide the
row when it is bound without removing the data. You may try just making
that row's height = 0 which would appear like it is hidden.

Cheers,

- Noah Coad -
Microsoft MVP
 
Back
Top