I am pretty new to WPF and your devexpress controls. I'm lost to how to implement this feature. What I'm trying to figure out is how to add a user from one grid to another grid in simple terms. I have a list of available users that can be selected into the user mandatory grid.
So my end goal here is on my main window I have an add button and a GridA with Name column. When I click on the Add button it will show a modal window with a gridB that has a list of all available users names except who is not on GridA. I would like to double-click the row to add that user to GridA.
For example, When I load for the application for the first time my GridA is empty. I click on the add button. A modal window pops up with the Available Users in gridB to choose from. I have John, Andy, Ben, and Natalie for all user to choose from. I double click on Ben. He gets added to gridA on the main window. I click the Add button again, then a modal window pops up with the Available User in gridB. Now I would only see John, Andy, and Natalie. Ben would not show up because he is on gridA.
I will probably use IList/IEnumerable list to binding my data to my grids. I have a service call that gets a list of all my user from the database. I will probably create two more list objects for my availableUsers and mandatoryUsers.
Any help would be greatly appreciated.