Prevent mobile view ?

Hello dear support.

I wonder if Scheduler have a way to prevent it's mobile view on the mobile devices, since it is unwanted behavior on the app I am working on.


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team February 16, 2022 12:21 PM UTC

Hi Yordan, 
  
We suggest you to use EnableCompactView  property to achieve your requirement. 
  
  
Index.razor: 
<SfSchedule @ref="ScheduleRef" TValue="ScheduleData.RoomData" Width="100%" Height="650px" @bind-SelectedDate="@SelectedDate" EnableAutoRowHeight="@AdaptiveRow"> 
    <ScheduleViews> 
        <ScheduleView Option="View.TimelineDay"></ScheduleView> 
    </ScheduleViews> 
    <ScheduleGroup EnableCompactView="false" Resources="@groupData"></ScheduleGroup> 
    <ScheduleResources> 
        <ScheduleResource TItem="RoomsData" TValue="int[]" DataSource="@ResourceData" Field="RoomId" Title="Room Type" Name="MeetingRoom" TextField="Name" IdField="Id" ColorField="Color" AllowMultiple="true"></ScheduleResource> 
    </ScheduleResources> 
    <ScheduleEventSettings DataSource="@DataSource"></ScheduleEventSettings> 
</SfSchedule> 
  
Kindly try the above sample and let us know if this meets your requirement. 
  
Regards, 
Satheesh Kumar B 


Loader.
Up arrow icon