ExpandAll/CollapseAll functionalities; Load subtasks if an element is expanded

4 posts, 1 answers
  1. Maksym
    Maksym avatar
    9 posts
    Member since:
    Apr 2015

    Posted 02 Jul 2015 Link to this post

    Hello, 

    2 questions:

    1. I am currently trying to implement a functionality that can expand/collapse all tasks in grantt view. Are there some build-in tools that can be used to implement these functionalities?

    2. I also want to load the subtasks of a root task if it is expanded. So I am looking for a function that notifies if a task is expanded.

    Thanks.

     

     

     

  2. Answer
    Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 06 Jul 2015 Link to this post

    Hello,

    You could load all summary tasks either expanded or collapsed from the server via the ExpandedField from the TasksDataBindings. In case you want to collapse/expand them on the client you should use the client-side API of control as shown in the attached sample page.

    Regarding your second question, RadGantt does not provide "lazy loading" of its child tasks. 

    Regards,
    Dimitar Terziev
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Maksym
    Maksym avatar
    9 posts
    Member since:
    Apr 2015

    Posted 09 Jul 2015 in reply to Dimitar Terziev Link to this post

    Thanks.

     

    Another quetion:

    How can gantt view be refreshed after changing its data source?  

  5. SANJAY
    SANJAY avatar
    61 posts
    Member since:
    Jun 2012

    Posted 09 Jul 2015 in reply to Maksym Link to this post

    Hi

    Just call RadGantt1.Datasource = DataTable

     

    with the Refreshed Datatable

     

    Regards     

Back to Top