I have a XamGrid for which I have the ItemsSource bound to a VirtualCollection. I need to display summaries for columns but when I try to do that the virtualCollection requests loading of all items. Sends many requests. Is there an workaround for not requesting all items?
Please see the attachement.
Thanks.
To achive my goal I've extended DataManager<T> and DataManagerProvider and works perfectly.
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.
I have been looking into your enquiry and when a summary is created, it is expected that all the records of the collection are accessed. I cannot think of another way that an items control can gather the information needed for creating a summary. I have seen though people preferring to create their own summary values inside their view models, or collection classes and simply displaying those precalculated values in the application. This would also require constant updating of those values internally when a data item used in the summary is changed. I should clarify that such an approach would rule out any Infragistics built-in summary functionality. The advantage of such approaches usually is exactly what you are looking for since when calculating the summaries can be performed on adding elements of the collection and the updating can be achieved through the properties’ set methods, this will in turn eliminate the need of accessing all the elements again to generate the summary when needed to be displayed.
Hope this helps. Please let me know if I can clarify this further.