Unplanned
Last Updated: 27 Jun 2022 08:34 by ADMIN
René
Created on: 30 May 2022 14:07
Category: Gantt
Type: Feature Request
5
Ability to set selected date

There should be a way to programatically scroll to a specific day in the timeline.

UseCase 1: Goto Today Button

UseCase 2: Upon clicking on a line in tree list the timeline should display this task in the timeline.

3 comments
ADMIN
Nadezhda Tacheva
Posted on: 27 Jun 2022 08:34

Hi René,

Thank you for the follow up!

As you've confirmed the "Set selected date" functionality is matching your expectation for "Go to specific day", I've updated the title and the status of the item.

I will additionally post an update in the dedicated "Zoom into Timespan" request, so we keep the discussion clean and focused on the specific enhancement.

As we already agreed, the "Highlight current timeslot in timeline" will be handled with Current Time Marker enhancement.

Regards,
Nadezhda Tacheva
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/.

René
Posted on: 20 Jun 2022 10:50

Hello Nadezhda,
sorry for my late reply.  I have been out of office for a while.

The "Set selected date" functionality in the jQuery demo is exactly what I mean by this "Goto specific day" request.

The "Start date of range" and "End date of range" in that demo is almost what i meant by "Zoom into Timespan".  The only thing missing would be a "compression" of the displayed timeslots so the whole timespan would be visible without horizontal scrolling. In the demo if a timespan of two weeks is selected, only the first week is fully displayed (if view mode week is selected) and I have to scroll to get to the rest of the second week. What I would like is an automatic adjustment of the column widths so the whole timespan is being displayed without scrolling.  If this is not possible at this time, the "Start date of range" and "End date of range" as seen in the demo would already be a great improvement!

Even with the above features implemented, I would still need the Highlight current timeslot in timeline  feature. As written in that ticket the Current Time Marker would be fine to solve that issue.

If you decide to mark the current timeslot instead of using a vertical line: For me the "current timeslot" in the Day view would be the column of the current hour, in the Week view it would be the column of the current day and in Month view it would be the column of the current week.

ADMIN
Nadezhda Tacheva
Posted on: 02 Jun 2022 15:28

Hi René,

I see you have submitted a couple of requests for the Gantt that target relative functionalities for the component, so I'd like to cover them altogether:

Programmatically scroll to date or range of dates

This section targets the following requests:

  • Ability to programmatically scroll to a specific day in the timeline (the current thread)

  • Zoom into Timespan

As I understand, both of these requests target the ability to programmatically navigate to specific date or range of dates in the timeline. Could you please take a look at the Selected Date and Range functionality currently available in the UI for jQuery version of the Gantt and let me know if this behavior matches your desired case?

The "Set selected date" calendar allows you to provide the desired day to which the timeline will programmatically scroll. I believe this would cover the request from the current thread - Go to specific day.

The "Start date of range" and "End date of range" allow you to select min and max dates which the timeline will display. Would you consider this will cover your second request - Zoom into Timespan?

The calendars in the demo are part of the configurator. The selection of the dates can be handled differently. The focus here is on the programmatic navigation in the timeline based on provided dates.

Highlight current timeslot

The third request I'd like to cover here is Highlight current timeslot in timeline. It looks like you've requested this enhancement due to the lack of "Go to specific day" functionality. Could you please confirm if exposing "Go to specific day" option will suffice to cover your desired use case? As I understand the purpose of this highlight is to be able to easily find specific slot while scrolling. However, if you are able to programmatically focus/scroll the timeline to the desired day, why would you need this highlight? It will be useful to share some details on your exact expectations, in case I am missing something.

In general, "current timeslot" is a bit ambiguous in the context of the Gantt timeline. For example, its smallest Day view works with hour slots. When you navigate to a specific day, the timeline will display several hour slots of this day starting from the fist hour in that day. What will you consider to be the current slot in this case?

In the meantime, I have closed the other two requests as we are actually evaluating the desired functionality here. If we consider another option, I can of course update them afterwards.

I look forward to hearing your thoughts on the matter!

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.