Hello,
I have a SfDatagrid loaded with records from a database table , with some GridTextColumns (eg Code ) and a GridMultiColumnDropDownList ( Alternative Id ) .
For now , both SfDataGrid ItemsSource and
GridMultiColumnDropDownList ItemsSource are binded to the same list of items from the ViewModel.
How can I remove from the
GridMultiColumnDropDownList ItemsSource the current item from which I open the Dropdown ? For example , I am on the row with "Code1" , when I open the dropdown with the alternatives I don't want to have the option "Code1".
Tried to remove it directly from the VM and make another list , but the SelectionMode I am using is Multiple , so in the VM I have a list of SelectedItems , I need to - somehow - access the current item .
Thanks