15,891,951 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by George Tryfonas (Top 5 by date)
George Tryfonas
27-Jul-11 4:51am
View
Deleted
Reason for my vote of 5
This is a very clear presentation of a well known problem and one of its possible solutions.
George Tryfonas
11-Mar-11 8:33am
View
Deleted
Reason for my vote of 3
It's a good attempt, nevertheless this method is quite restricted given that you must know the columns for which you pivot in advance. It does not cover the general case where, in your particular example, stores may be added or removed.
George Tryfonas
4-Mar-11 11:44am
View
It may be a stupid thing to ask, but did you rename the element when you changed the control from ListBox to ElementFlow? If you did, did you make sure to update your binding?
George Tryfonas
23-Feb-11 13:51pm
View
John,
thanks for your complete and excellent answer. I'll find my way from here.
George.
George Tryfonas
23-Feb-11 8:29am
View
John, thanks, these are good suggestions. However, there is one key fact that I forgot to mention: this array may contain tens of thousands up to millions of elements. However, few of them change at a time. Unfortunately, if I create a worker thread that moves items from the array to an observable collection, it will take quite some time until it's done moving them -- which means that refreshing the UI will be quite slow.
On the other hand, you suggest that I create a thread that "watches" the array. By that I understand that you mean that the thread can determine which elements of the array have changed. Could you please elaborate a bit more? If I could do that then I could wrap the array around a custom collection class and send the approriate collection change notifications (i.e. the Replace action).
If there are no better suggestions than the ones you have given I will have to accept your answer as the best one. Thanks for the effort anyway.