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
my ActiveView is SchedulerTimelineView
and radSchedulerDemo.SchedulerElement.ViewElement is TimelineGroupingByResourcesElement datatype.
Is any way how to make it work?
Thank you
Robert
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