I have a XamDataGrid that requires a converter in the binding, due to the fact that one of the fields is a drop-down based off of a previously user selected value in the same grid. This forces the grid to call my IValueConverter for each record, and i have many records. I already have a busy indicator that displays while the acutal data is loaded into the grid etc. Problem is it is apparently blocked while the converter is called 295 times (for ach record). How can i keep my busy indicator from freezing because of this?
Hello Travis,
Thank you for your post. I have been looking into your issue and I was wondering whether you have tried to load you data into a background worker or a new thread. This way the UI thread will not freeze during the loading process. For more information you could look into the following link:
http://stackoverflow.com/questions/9664391/showing-busy-indicator-control-inside-a-ui
Let me know, if you need any further assistance on this matter.
Yes, i am using threading. My main problem now is that when i try to scroll thoughout the grid, converter is slow, so the UI is slow to respond. My only idea for that so far was to put a WaitCursor around the converter's code, but this is less than desirable, since it rapidly "flashes" the WaitCursor, since it gets called each record.
Hi Travis,
Thank you for reply. I have been looking into your issue and I was wondering whether you could attach a sample application that show the described scenario in order to test it and investigate it on my side. This way I could provide you with more accurate assistance on this matter.
Looking forward to hearing from you.
I am just checking if you require any further assistance on the matter.
attached is a sample showing the problem i am experiencing. how can i keep the wait cursor from showing numerous times, for example, when scrolling or grouping/ungrouping. i wish it to show once when ungrouping, instead of each time the converter is hit.