G
Guest
Hello
I have a listview control which contains a number of rows of data, probably just less than a hundred. There are approx. 10 columns, no sorting, control set to show data in Detail mode
I want to update just 3 columns, but for all items, as quickly as possible..
The problem is, that when I update the contents of a cell, I can watch the whole line being painted... needless to say, the whole routine is incredibly slow. I am seeing 30 cell updates taking about a second to complete, and there's nothing complicated going on, it just appears to be that the listview control is very slow. I have reduced the updates so that only cells whose value has changed get updated only, but still, with just a dozen updates, the time to do the updates is very slow and the CPU time seems to get quite busy... anywhere from 60-80%... and like I say, it seems to be the Listview that is the culprit
Does anybody know of a way of avoiding accomplishing these data update rates without a flickering screen or expensive CPU time? I would really appreciate any help. Thank you.
I have a listview control which contains a number of rows of data, probably just less than a hundred. There are approx. 10 columns, no sorting, control set to show data in Detail mode
I want to update just 3 columns, but for all items, as quickly as possible..
The problem is, that when I update the contents of a cell, I can watch the whole line being painted... needless to say, the whole routine is incredibly slow. I am seeing 30 cell updates taking about a second to complete, and there's nothing complicated going on, it just appears to be that the listview control is very slow. I have reduced the updates so that only cells whose value has changed get updated only, but still, with just a dozen updates, the time to do the updates is very slow and the CPU time seems to get quite busy... anywhere from 60-80%... and like I say, it seems to be the Listview that is the culprit
Does anybody know of a way of avoiding accomplishing these data update rates without a flickering screen or expensive CPU time? I would really appreciate any help. Thank you.