Sort method for DataGrid

3 posts, 0 answers
  1. Raffaele
    Raffaele avatar
    2 posts
    Member since:
    May 2011

    Posted 15 Dec 2014 Link to this post

    Is it possible  sorting a grid programmatically?
    "Programmatically" means without clicking the header of column.



  2. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 15 Dec 2014 Link to this post

    Hi Raffaele,

    You can programmatically sort RadDataGrid using its SortDescriptors collection. For more information you can check these help articles:

     - http://www.telerik.com/help/windows-8-xaml/datagrid-sorting-overview.html

     - http://www.telerik.com/help/windows-8-xaml/datagrid-sorting-propertynamesortdescriptor.html



    Regards,
    Tsvyatko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Raffaele
    Raffaele avatar
    2 posts
    Member since:
    May 2011

    Posted 15 Dec 2014 in reply to Tsvyatko Link to this post

    Thanks for your quickly response, probably the first link should solve my needs.

Back to Top