I'm using a simple RadGridView with a DomainDataSource as ItemSource for it. I can easily select as many rows as I like and press the delete key on my keyboard. But I want to do this operation by providing a CommandButton ("Delete selected rows"), too.
What's the best way to do this? I'm not able to figure it out. When I access the DataView directly I'm receiving error messages.
Currently I'm using a Binding to the 'IsBusy' property of the DomainDataSource to block manipulation in the GridView while system is submitting changes. See code below:
I don't like the visual IsBusy state. Is there any possibility to push the delete command into some kind of queue which is handled in an other thread and previously detach the row from the GridView (thus, the user thinks that operation has performed yet).?