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

Hide start date and end date for Master/Parent Items

1 Answer 59 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Zain
Top achievements
Rank 1
Zain asked on 21 Jan 2015, 08:17 AM
Hi

i am using Gantt chart for displaying Employee Leaves. Using Deparment -> Employee as parent child relation ship.

I want to hide start date and end date for Department / Master (Parent = null ) records from both left and right side panel.

See pic for desired functionality.

Thanks

1 Answer, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 22 Jan 2015, 09:06 AM
Hello.

You can achieve this with some CSS:

/* Assuming that the column are ID | Title | StartDate | EndDate */
.RadGantt .rgtTreelistGroup > td:nth-child(3) > *,
.RadGantt .rgtTreelistGroup > td:nth-child(4) > * {
    display: none !important;
}
.RadGantt .rgtTaskSummary {
    display: none !important;
}

Note that if the StartDate and EndDate columns are 3rd and 4th you will need to modify the highlighted parts.

Regards,
Ivan Zhekov
Telerik
Tags
Gantt
Asked by
Zain
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Share this question
or