I can't figure this thing out. I have been looking at it for a couple of days now and I must be missing some steps. But this is my objective. I want to double click on a Row of a dataGrid.
I want to take data from that data grid and use it to load a second dataGrid.
I have a view model that contains two ObservableCollections
One is going to load the other. When a user double clicks one, the other should load.
I can figure out how to do that in MVC, but I can't wrap my head around how to accomplish this in MVVM.
IE, not using the View.xmal.cs code behind. I can get the event that way, but I don't want to bastardize my first MVVM project but putting stuff into the code behind.
I am guessing I just don't understand how to do this. Does anybody know of a good tutorial that will show how to do this? Or does anybody have an example application that will let me do this?