Issue with Alt-select with group definitions

1 Answer 44 Views
ScheduleView
Ola
Top achievements
Rank 1
Ola asked on 29 Nov 2023, 10:10 AM

I think I have found i bug with selection with Alt-key on RadScheduleView.

I use a WeekViewDefinition as my active view definition. When I select a square by holding Alt-key while dragging the selection breaks if I have any group descriptions defined.
I have a minor tick length of 15 minutes. When my selection reaches the last tick of any day (after 23:45) the selection jumps to next day close to the time where my selection started.

I am attaching a video that illustrates the problem.

If I dont have any group description on my RadScheduleView I dont get this problem.

Here is my schedule view detinition:


        <telerik:RadScheduleView
            x:Name="ScheduleView"
            AppointmentsSource="{Binding Appointments}"
            VisibleRangeChangedCommand="{Binding VisibleRangeChangedCommand}"
            VisibleRangeChangedCommandParameter="{Binding VisibleRange, RelativeSource={RelativeSource Self}}"
            SnapAppointments="True"
            TodayButtonVisibility="Hidden"
            IsInlineEditingEnabled="False"
            NavigationHeaderVisibility="Collapsed"
            SpecialSlotsSource="{Binding SpecialSlots}"
            FirstVisibleTime="0:00"
            ResourceTypesSource="{Binding ResourceTypes}"
            TimeRulerItemStyleSelector="{StaticResource TimeRulerItemStyleSelector}"
            AppointmentStyleSelector="{StaticResource AppointmentItemStyleSelector}"
            ToolTipTemplate="{StaticResource AppointmentToolTipTemplate}"
            GroupHeaderStyleSelector="{StaticResource SchemaGroupHeaderStyleSelector}"
            GroupHeaderContentTemplateSelector="{StaticResource SchemaGroupHeaderContentTemplateSelector}">
            
            <b:Interaction.Behaviors>
                <schedules:PreventCloseDialogBehavior/>
                <behaviors:PreventAddScheduleDialogException/>
                <behaviors:FastAppointmentAddBehavior Appointments="{Binding Appointments}"/>
                <behaviors:FilterAppointmentsBehavior/>
            </b:Interaction.Behaviors>
            
            <telerik:RadScheduleView.ActiveViewDefinition>
                <telerik:WeekViewDefinition
                    MinTimeRulerExtent="200"
                    TimerulerMajorTickStringFormat="{}{0:%H}:{0:mm}"
                    GroupHeaderDateStringFormat="{}{0:ddd}"
                    ShowWeekGroupHeaders="False"
                    MinorTickLength="15min"
                    Orientation="Horizontal"
                    StretchGroupHeaders="True"
                    FirstDayOfWeek="Monday"
                    VisibleDays="7" />
                
            </telerik:RadScheduleView.ActiveViewDefinition>
            
            <telerik:RadScheduleView.DragDropBehavior> 
                <behaviors:ScheduleDragDropBehavior />
            </telerik:RadScheduleView.DragDropBehavior> 
            <telerik:RadScheduleView.SlotSelectionBehavior> 
                <behaviors:ScheduleSlotSelectionBehavior/> 
            </telerik:RadScheduleView.SlotSelectionBehavior> 

            <telerik:RadScheduleView.GroupDescriptionsSource>
                <telerik:GroupDescriptionCollection>
                    <telerik:DateGroupDescription/>
                    <telerik:ResourceGroupDescription ResourceType="Schedules" />
                </telerik:GroupDescriptionCollection>
            </telerik:RadScheduleView.GroupDescriptionsSource>
        </telerik:RadScheduleView>

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 01 Dec 2023, 01:19 PM

Hello Ola,

Thank you for this report. I think grouping is not required to reproduce this behavior. I logged it on your behalf in our feedback portal and will do my best to have a fix for it in some of the next internal builds.

Regards,
Petar Mladenov
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.

Tags
ScheduleView
Asked by
Ola
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or