Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
525
Unselecting records problem
posted

I have two grids on different views and their selected row is kept in sync through code.

If i click on a row in grid one this shows the other grid with the proper row selected.  If i then click a new row in grid two and go back to gird one my original selection is still highlighted.

before setting the new selection active/selected i have tried:

Iterating through all the records setting IsSelected and IsActive to false (didn't work)

Setting _dataGrid.SelectedItems.Records.Clear() (didn't work)

Anything else that i can try?

thanks,

Jamie

Parents Reply Children