Sort gantt chart by standard column

3 posts, 1 answers
  1. Felix
    Felix avatar
    42 posts
    Member since:
    Sep 2014

    Posted 07 Aug 2015 Link to this post

    Hello,

    is it somehow possible to sort the tasks e.g. by start date. It seems that it's only possible to sort the tasks inside the gantt by custom columns when using a custom gantt provider. Sorting by a standard column like title or start date is ignored. Thanks.

    Regards,
    Felix

  2. Answer
    Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 12 Aug 2015 Link to this post

    Hello,

    By default the gantt uses the OrderID field to sort the tasks, and for implementing the reorder functionality. If you are creating a custom provider, make sure you set the order ID to correspond to the order of the tasks you want to achieve. The indexes are zero based, and should be relative to the parent. For instance if you have two parent tasks, the children of the first one should have OrderID 0, 1 and 2, and the children of the second one - 0, 1 and 2 as well.

    You can also click on the column headers to sort by a particular field. 

    Regards,
    Bozhidar
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Felix
    Felix avatar
    42 posts
    Member since:
    Sep 2014

    Posted 12 Aug 2015 in reply to Bozhidar Link to this post

    Hello Bozhidar,

    thanks for you answer. Solved my problem.

    Regards,
    Felix

Back to Top