Disable rows in grid based on a collection

0 Answers 14 Views
GridView
alex
Top achievements
Rank 1
alex asked on 12 Feb 2022, 07:15 PM | edited on 12 Feb 2022, 07:15 PM

I have a RadGridView bound to an Obersvable Collection of an object with ID and Name. After closing the window, I save the selected IDs in an list. When the user reopens the form to select more items, I want to show all the items but disable the IDs that were previously selected (those on the IDs list).

How can I achieve that?

 

I think that the best solution is a behavior and not a styile, but I don't knlw how to do it.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
alex
Top achievements
Rank 1
Share this question
or