This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have a DataGrid and its ItemsSource is binding to the BindingList, which is changing dynamically, when it is changed, some times the DataGrid does not show the Data, and when we check the DataGrid's itemssource and it does change. And When we click on the column Header to sort, then the Data will appear. I have trouble to assemble the small project to replicate the problem since our code is complicated. If we use ComponentOne's DataGrid, it works fine, so it is not the problem on our view model or settings It is very important for us to solve this problem. Someone please take a look into this. |
|
|
Hello Gordon I have found and resolved a bug where a certain operation performed dynamically on a BindingList did not re-render the data grid. The operation in question is the operation for replacing an item in the list, for example, using the index operator. The fix for this will be available through the next nightly build. If this does not resolve the problem, please let me know exactly what operation you are performing on the BindingList that is failing to display the data correctly. Cheers Jason Fauchelle |
|
|
Thanks Jason. I downloaded Mar 22's Nightly Build and the refresh problem still exists and the behaviour is the same. Gordon |
|
|
Hello Gordon I have tried all dynamic list change operations on BindingList that I can think of, and they all cause the data to be re-rendered at my end. What operation are you performing on the list that is causing the issue? Also, make sure you are not setting the RaiseListChangedEvent property to false, otherwise the DataGrid can't listen to dynamic changes. Jason Fauchelle |
|