GanttView Time Ruler Queries

1 Answer 23 Views
GanttView
Premkumar
Top achievements
Rank 1
Iron
Premkumar asked on 07 Jul 2021, 09:55 AM

Hi Team,

I have the following queries.

1. How to show the gridlines in the GanttView. (see the attached screenshot)

2. How to hide the border line between 2 columns. (see the attached screenshot)

3. How to reduce the MajorTickLine width. I have tried the below.
Here we are showing Days, week, month wise details.

Working Criteria:

Days - 45 to 79 

Week - 80 to 120 

 If the range of days increased more than 79, it will automatically display the week.

Not working while adjusting the range (customized range) for days and week. 

Please help us to sort it out.

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 09 Jul 2021, 12:50 PM

Hi Premkumar,

Thank you for the provided images.

I will try to answer your inquiries in the order you've defined them:

1. If by "gridlines" you mean the extensions of the interval markers, you can achieve this requirement by following the approach demonstrated in the TimelineIntervalMarkers demo from our SDK Samples Browser.

2. You can hide the borders between the columns by defining the following style targeting the BorderContainer element:

        <Style TargetType="telerik:BorderContainer">
            <Setter Property="BorderBrush" Value="Transparent" />
        </Style>

Please note that if you're using implicit styles you need to base this style on the BorderContainerStyle resource.

3. You can reduce the width of the intervals by increasing the value of the PixelLength property.

I hope you find this information helpful.

On a side note, I noticed that an identical thread was posted here. If this was done by yourself or one of your colleagues, may I kindly ask you to continue any further conversation on the matter in this thread so that we can avoid duplicate content and reduce the response time of our replies?

Thank you in advance for your cooperation on the matter.

Regards,
Dilyan Traykov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GanttView
Asked by
Premkumar
Top achievements
Rank 1
Iron
Answers by
Dilyan Traykov
Telerik team
Share this question
or