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

Can Time rulers (in GantView/Timeline) be moved to bottom ?

4 Answers 80 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Josias
Top achievements
Rank 1
Josias asked on 28 Jan 2020, 07:50 AM
Hello !

I was wondering if there is any way to move "time rulers" from the RadGantView or RadTimeline to the bottom (having items above the timeline) ?

4 Answers, 1 is accepted

Sort by
0
Vicky
Telerik team
answered on 30 Jan 2020, 11:26 AM

Hi Josias,

I did some investigation and came up with a possible solution that might be the one you are looking for. This solution consists of the following approach: 

  • GanttView - extracting the default template of the GanttItemsPresenter element and modifying the telerik:GanttPresenterPanel.Area property of its children elements. Note that this approach is merely a suggestion which is not well tested and I cannot guarantee that it will work properly in all expected scenarios. 
  • Timeline - extracting the default template of the control and updating the layout order of the TimelineAnnotationsPanel's children elements by modifying their Grid.Row and Grid.RowSpan properties.

I created a sample project that follows the above approach. It includes both the GanttView and Timeline controls, the required custom styles and templates. It has the Fluent theme applied using implicit styles (NoXaml version of the assemblies).

Please, find the sample project attached to my reply, give it a try and let me know if it helps.

Regards,
Vicky
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Alexandre
Top achievements
Rank 1
answered on 04 May 2020, 10:17 AM

Hi,

I'm a colleague of Josias.

I tested the sample you did and in fact the time is on the bottom part. That's not exactly what we are expecting.

Here is more what we want:

We want to keep the Title/Start/End header on top as well as its corresponding part in the event panel.

But we want the time to be displayed on the bottom. I took visuals from a running app and with a "nice" paint I tried to make what we want to achieve.

 

Cheers,

Alexandre

0
Vicky
Telerik team
answered on 07 May 2020, 08:27 AM

Hello Alexandre,

Thanks for the provided details and the screenshot.

The GroupTickContainer (the one displaying the month from the screenshot) and the MajorTickContainer elements (the ones displaying each day of the month) are part of one LogicalCanvasPanel, named TimeRulerPanel. This means, that these containers can only be moved together.

With that said, the only possible way to move the MajorTickContainers to the bottom is along with the MajorTickContainer (i.e. the whole LogicalCanvasPanel), which is implemented in the sample project I provided earlier.

Please, do not hesitate to contact me back if there is anything else I can help you with.

Best Regards,
Vicky
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Alexandre
Top achievements
Rank 1
answered on 07 May 2020, 09:11 AM

That's what I was indeed thinking after trying to figure out how to do so.

 

Thanks for your time.

 

Cheers,

Alexandre

Tags
GanttView
Asked by
Josias
Top achievements
Rank 1
Answers by
Vicky
Telerik team
Alexandre
Top achievements
Rank 1
Share this question
or