J
John Smith
Hello all:
I understand now how to get the current item from the BindingContext of
a DataGrid but it returns the wrong item selected if the columns are
sorted. For instance, if I have a list of employees and they are filled
into a DataGrid everything works fine when I select one and grab the
info for that selection. But if you reorder a column say by last name
or something it doesn't reorder the binding context associated with the
selection and as such does not return the correct item selected in the
grid. Am I doing something wrong here?
Thanks,
- John -
I understand now how to get the current item from the BindingContext of
a DataGrid but it returns the wrong item selected if the columns are
sorted. For instance, if I have a list of employees and they are filled
into a DataGrid everything works fine when I select one and grab the
info for that selection. But if you reorder a column say by last name
or something it doesn't reorder the binding context associated with the
selection and as such does not return the correct item selected in the
grid. Am I doing something wrong here?
Thanks,
- John -