Carlos Blanco
Carlos Blanco

Reputation: 8772

RadGridView Delete event WPF

Is there some property that modifies the behavior of what key fire the deleteing and deleted events in the RadGridView.

It might be a bug, but my grid stopped firing this event suddenly. It used to work a few days back when I developed it. Now, that I added some more events and functionality to the screen it stopped working. One of my coworkers has the same issue with one of his screens.

Is it just me, or this components are pretty much filled with bugs. They also break with each update I make.

Upvotes: 2

Views: 2021

Answers (1)

bartosz.lipinski
bartosz.lipinski

Reputation: 2677

If you will set CanUserDeleteRows to false on the grid user will not be able to delete rows anymore.

There is also Deleting event on the grid where you can cancel pending delete request.

Additionally if you are using PreviewKeyDown event and setting e.Handled = true for delete key grid will not delete row.

Upvotes: 2

Related Questions