lately I have a problem with my objectlistview. I'm still not 100% sure why this happens but mostly when I try to clear my objectlistview with ClearObjects(); Method my OLV stops to working. I add/remove objects in it but I can't see the updated objectlist in OLV anymore and when I use the horizontal bar my columns look like
It's like my OLV stop refresh itself. While OLV is in this situation however I still can add/remove objects and see the changes in label. It's just with the GUI is not refreshing after a point.
From comments:
Is there any chance you are calling BeginUpdate
and getting a swallowed Exception before EndUpdate
.
BeginUpdate suspends the drawing so if it isn't in a try finally it can result in this behaviour.