Home Forums WinForms controls Xceed Grid for WinForms Delete a row!!

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

    Hi. With a grid bound to a custom collection, what would prevent a row from being deleted by the user? My collection implements all the IBindingList members, but these are not even being called when I select a row and press the delete key. Some problems just make me feel really dumb!

    kh

    Imported from legacy forums. Posted by kh (had 3212 views)

    User (Old forums)
    Member
    Post count: 23064

    The GridControl doesn’t implement removing rows when pressing Delete. If you want such functionality, you’ll have to implement it yourself. This means that YOU are in charge: you decide when a row (or multiple rows) is deleted. You can even ask the user if he’s sure he wants to delete the selected rows.
    If you want, I can show you some code to do this.

    Imported from legacy forums. Posted by Tommy (had 583 views)

    User (Old forums)
    Member
    Post count: 23064

    told you it made me feel dumb. got it working. cheers tommy

    Imported from legacy forums. Posted by kh (had 3266 views)

    User (Old forums)
    Member
    Post count: 23064

    hi tommy,

    I read your post regarding deleting a particular row in xceed datagrid.Can you help me how to delete a particular row by selecting a check box or clicking a delete button.

    Imported from legacy forums. Posted by Nagaraju (had 1723 views)

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