I have a gridview and one of the columns needs a popup window for selecting the appropriate value because the list of available choices is over 200 records.
I've created a CellEditTemplate with a button bound to a command on my viewmodel, but I'm not sure this is the best approach. Because I have to bind the selectedItem of the grid to a property, so that when I show the popup window, it can alter the appropriate property of the selectedItem.
When I click on the "insert row", the new row isn't automatically the selected row. How do I get to to automatically be the selected row, so that my popup window has something to change? Or is there a better way to present the choices to the user besides a popup window?
I've created a CellEditTemplate with a button bound to a command on my viewmodel, but I'm not sure this is the best approach. Because I have to bind the selectedItem of the grid to a property, so that when I show the popup window, it can alter the appropriate property of the selectedItem.
When I click on the "insert row", the new row isn't automatically the selected row. How do I get to to automatically be the selected row, so that my popup window has something to change? Or is there a better way to present the choices to the user besides a popup window?