Home Forums WinForms controls Xceed Grid for WinForms Deleting a row from exceed grid ver3.6

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #15946 |

    I am trying to delete the currently selected row from the xceed grid. Please help me with the code. The user will click on any row in the grid and press a button to delete the currently selected row.

    thx

    Imported from legacy forums. Posted by anac2112 (had 1986 views)

    Xceed Support
    Member
    Post count: 5658

    You can directly remove the CurrentRow from the DataRows collection:

    gridControl1.DataRows.Remove((Xceed.Grid.DataRow)gridControl1.CurrentRow);

    Imported from legacy forums. Posted by CharlesB (had 3074 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.