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

Show/Hide weekends in TimelineView with resources

1 Answer 127 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 15 Jan 2013, 10:28 PM
Hello,
I can't find out how to hide weekends in timelineview with resource grouping.

 I found an example with DayViewBase in your winforms demo, but for timelineview there is no DataAreaElement to use
private void radSchedulerNavigator1_ShowWeekendStateChanged(object sender, StateChangedEventArgs args)        
{            
  if (this.radSchedulerDemo.ActiveView as SchedulerDayViewBaseView != null)            
  {                
     (this.radSchedulerDemo.SchedulerElement.ViewElement as SchedulerDayViewElement).DataAreaElement.ScrollView.Value = Point.Empty;                 
     (this.radSchedulerDemo.SchedulerElement.ViewElement as SchedulerDayViewElement).DataAreaElement.Table.ScrollToWorkHours();            
  }        
}

my ActiveView is SchedulerTimelineView
and radSchedulerDemo.SchedulerElement.ViewElement is TimelineGroupingByResourcesElement datatype.


Is any way how to make it work?

Thank you
Robert

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Todorov
Telerik team
answered on 17 Jan 2013, 02:13 PM
Hello Robert,

Thank you for contacting us.

Currently, the TimelineView does not support hiding the weekends as it is designed to display continuous periods of time. The ShowWeekend option is only available in WeekView. Currently, we do not have any plans for implementing this feature for TimelineView. If more people request such, we will consider adding it in a future release.

If you have any other questions, feel free to ask.

Kind regards,
Ivan Todorov
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
Scheduler and Reminder
Asked by
Robert
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or