We need to implement server-side paging (including filtering, sorting AND grouping!) and we are currently using the XamDataGrid, which has no out of the box support for paging (at least I could not find any).
- the new asyncDataSource looks good, although it uses Virtualization - but has NO Grouping!
- a custom PageCollectionView did not seem to work with XamDataGrid, although I did not invest too much time investigating why
- we could implement our own custom pager/filters/sorting/grouping, by setting the DataSource then to the filtered paged result - a lot to implement and found no samples
- the xamGrid actually supports paging (still could not find any samples for server-side paging), but I still do not understand if we should switch to XamGrid - what is the difference (I saw the article) and for how long is XamGrid going to be supported? Are there new features planned for the XamGrid or is the XamDataGrid the "new and proved" grid control to use for the future?
We are talking about millions of rows, so paging is a must!
What is the experts' suggestion here?
Thanks in advance
Hello,Thank you for your feedback.I have mentioned the busy indicator as an option to notify the user in a friendly way that the data is being processed (I agree that it does not add value to the paging functionality you need).The product ideas are processed by the management team based on votes and customers’ feedback. You can add your comment and vote to the existing suggestion to notify the management and stay updated if the decision is reconsidered.
The link you provided to the "Product Idea" (from 2013) shows this request has been denied (in May 2016 - 3 years later!!), so there will be no Paging for XamDataGrid. This does NOT help me!
Not sure why you mention the XamBusyIndicator, it doesn't add anything to the Paging discussion (or Virtual Paging with Grouping) - showing a busy indicator is the least of our problems.
An integrated functional paging is one of the core features of any grid, seems to me strange you invested effort implementing Virtualization (but without Grouping) rather than classic paging that everyone could use...
Hello,
The product management has decided that other features will be added to the XamDataGrid control. You can review the status of the product idea regarding the paging support for XamDataGrid.
As an alternative, you can use the XamBusyIndicator and display it while the XamDataGrid is loading. One thing to note is that both controls use the UI thread to show so you need to first load the XamBusyIndicator and then the XamDataGrid.
Thank you Maria,
I get it from your answer that it's best to stick to XamDataGrid, yet one question remains - when will the virtualization going to support paging?
Or as an alternative, are there any samples for "classic" paging with the XamDataGrid?
Thank you for posting to the community.
The paging functionality is available with the XamGrid control which is a cross-platform control that could be used in WPF and in Silverlight applications. That being said, the control is not going to be deprecated as Microsoft officially dropped the Silverlight support. Although we are not currently adding new features to the XamGrid we continue to support the control and fix the reported issues.
XamDataGrid, on the other hand, is a WPF specific control. It is optimized and has records and cells virtualization to insure very good loading time even when large data sets should be displayed. There are also a few optimization settings that could be used to improve the performance. Such setting is the DeferredScrolling mode that only scrolls to a certain position and only the data that should be visible when scrolled is accessed from the provider. You can have a look at this and other XamDataGrid optimizations at http://es.infragistics.com/community/blogs/kiril_matev/archive/2010/10/26/optimizing-xamdatagrid-performance.aspx.
Let me know if you have any questions.