Datagrid not updating
I had a lot of trouble with this and this is what helped me get the Data Grid reloaded with the new values.
Make sure you use the data type that your are getting the data from to get the latest data values.
Of course I blame it on the fact that I've spent too much time in the ASP.
If the values for the control come from user input, be sure to validate the values to reduce security vulnerabilities.
So, I have this WPF datagrid, and it's quite happy in the way it works. Some background, I'm not doing the base behavior for editing/adding, but rather have a separate control outside the grid which is responsible for that behavior (as it is also the control responsible for adding the initial element).
But I was having a problem, and it was with the Grid's UI.
My changes and additions were not making their way into the UI display.The Check Box Column is bound to a bool value called "Aircraft Commander Selected" in my collection.