Reputation: 24833
I need to load a huge amount of data in DXGrid(WPF) , I know that i have to use XPInstantFeedbackSource or XPServerCollectionSource to achieve the requirements, but dont know which one to use , any idea on cons and pros?
Upvotes: 2
Views: 4527
Reputation: 17850
Both the XPInstantFeedbackSource and the XPServerCollectionSource are server mode data sources. In this mode a data-aware control sends requests to a bound data source to retrieve appropriate portions of data when required. There are two distinct server modes that differ in the way controls interact with bound data sources:
Important note: all the Instant Feedback Sources are a read-only data sources. To enable data editing in server mode, use the Server Mode Sources with the AllowEdit property set to true.
PS. As in regular data-binding modes, in server modes, bound controls allow data to be edited, sorted, grouped and filtered. To learn about the limitations of server modes, see Server Mode Limitations.
P.P.S. Please also take a look at the following article: Binding to Data
UPDATE:
Real CPU usage of InstantFeedBack UI(tm) (Notebook, Intel Core i5, 2.67 GHc, 8gb RAM, NVIDIA GeeForce GT 425M, Win7x64):
The total CPU Usage strongly depends only of WPF rendering subsystem performance (wpfgfx_v0400.dll).
Upvotes: 3