This is a migrated thread and some comments may be shown as answers.

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

3 Answers 60 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Maksym
Top achievements
Rank 1
Maksym asked on 02 Jul 2015, 10:33 AM

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.

 

 

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar Terziev
Telerik team
answered on 06 Jul 2015, 07:58 AM
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
0
Maksym
Top achievements
Rank 1
answered on 09 Jul 2015, 11:59 AM

Thanks.

 

Another quetion:

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

0
SANJAY
Top achievements
Rank 1
answered on 10 Jul 2015, 04:33 AM

Hi

Just call RadGantt1.Datasource = DataTable

 

with the Refreshed Datatable

 

Regards     

Tags
Gantt
Asked by
Maksym
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Maksym
Top achievements
Rank 1
SANJAY
Top achievements
Rank 1
Share this question
or