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

Use ScheduleView as a seconds-detailed timeline

5 Answers 151 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Andrea Rapuzzi
Top achievements
Rank 1
Andrea Rapuzzi asked on 17 May 2017, 01:02 PM

Hello Telerik,

I have to implement an application which basically works in the same way of your ScheduleView demo called "ScheduleView and TimeBar" (TimeBar minimap for ScheduleView). So: I want a grouped timeline view with appointments, a larger range of this data previewed in the TimeBar above, and I also need the ability to add, edit, delete and drag-and-drop appointments as well.

The only thing is that I want my timeview to work scaled to seconds. This means I need to be able to create and manage appointments with a duration of some second (e.g. 5 or 10 seconds) and to keep the view "zoomed" to see these small details (e.g. I must be able to have the view set to see 1 minute in the planner, split into 60 seconds). Unfortunately I am not succeeding in this because I'm experiencing some difficulty working with TimelineViewDefinition's VisibleDays, MinTimeRulerExtent, MinorTickLength and MajorTickLength.

Can you please suggest a valid approach to achieve my implementation? And if ScheduleView is not the best option, can you suggest me a valid one (I tried RadTimeline and it seems effective, but there are no add, edit, delete and drag-and-drop behaviors at all)?

Thank you

5 Answers, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 22 May 2017, 12:19 PM
Hello Andrea,

The RadScheduleView control was designed to extend the functionality provided by Microsoft Outlook and provide scheduling of appointments which normally have a longer duration. With this said, it cannot work with such small intervals of time such as few seconds.

If you could specify your exact requirements, I may be able to suggest another control which could work for your specific scenario. Please suggest what type of data you will work with as well as the problem the control should solve.

I'm looking forward to your reply.

Regards,
Dilyan Traykov
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Andrea Rapuzzi
Top achievements
Rank 1
answered on 22 May 2017, 02:57 PM

Dilyan,

Thanks for your answer.

My requirement is to implement a "timeline" scheduler, oriented horizontally, detailed to seconds. I need this because I must work with simple time frames (called "slots") whose duration will vary from some seconds (e.g. 5 secs) to several hours (e.g. 10 hours).

The user must be able to create these "slots", move them back and forward, delete them and perform some custom external action (by means of a context menu that shall appear when a slot is right-clicked).

I also need to have multiple lines (called "groups"), because the user shall be able to define new groups and, for each one of them, define a related "slots" planning.

Finally this timeline shall allow to be zoomed and also to be binded into a RadTimebar to have a global view of the "slots" planning.

Please, find attached a screenshot of a simplified version of the scheduler I need to implement (the values in the ruler refer to minute 8:00, 8:10, 8:20 and so on).

Thank you

0
Dilyan Traykov
Telerik team
answered on 23 May 2017, 03:13 PM
Hello Andrea,

The RadScheduleView control is designed to work with the DateTimeInterval struct which only allows using minutes, hours, days, months, and weeks.

Hence, I am afraid there's no combination of controls I can offer you that will suit your requirements.

If I can be of any further assistance, however, please let me know.

Regards,
Dilyan Traykov
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Andrea Rapuzzi
Top achievements
Rank 1
answered on 12 Jun 2017, 08:28 AM

Hello Dilyan,

I finally found a solution, so I'd like to share it with the community (it's not so clean, indeed, but it seems it's working!). To achieve my target, I kept using RadScheduleView and I configured it in order to work considering days as they were seconds.

Hence I've set:

  • "01/01/0001" as start period. My need is to have a 1 week timeline, which means DateTime.MinValue.AddDays(60*60*24*7) as max end date.
  • "needed minutes * 60" as VisibleDays. My need is to show max 30 minutes at once, so a total of 1.800 visible days.
  • and I edited the template in order to display, by means of appropriate converters, the timeline ruler and tooltip values as time values (e.g. 00:08:00, 00:08:10...) instead of typical calendar dates.

Have a nice day!

0
Dilyan Traykov
Telerik team
answered on 13 Jun 2017, 12:13 PM
Hello Andrea,

I'm glad to hear that you found a solution that suits your needs. Thank you for sharing it with the community.

Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
ScheduleView
Asked by
Andrea Rapuzzi
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Andrea Rapuzzi
Top achievements
Rank 1
Share this question
or