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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top