Welcome to the Xceed Community | Help
Community Search  
More Search Options

Sorting of virtualizing collection

Sort Posts: Previous Next
  •  03-01-2010, 9:29 AM Post no. 25964

    Sorting of virtualizing collection

    Hello,

    we have grid with DataGridVirtualizingCollectionView and I wanted to solve sorting by subscribing methods SortDescriptions.CollectionChanged. But CollectionChanged of SortDescriptions is calling many times, when I click once to column header for sorting.

    What is the correct solution for sorting of virtualizing collection in Xceed grid?

    Thank you

    Filed under: , ,
  •  03-01-2010, 3:06 PM Post no. 25969 in reply to 25964

    Re: Sorting of virtualizing collection

    Hi Petr, 

    There is no other method, unfortunately, to handle changes on the SortDescriptions. The correct method to implement sorting on the DataGridVirtualizingCollectionView is to implement the QueryItems event. Details on the implementation are already explained in the online documentation at this URL: http://doc.xceedsoft.com/products/xceedwpfdatagrid/Data_Virtualization.html.


    Xceed - Software Developer and Technical Support
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.