Hi Andrew,
When the mobile mode is enabled, you can set the Day
view automatically by using the ej base package Browser module isDevice
property, as shown in the below-shared snippet.
Sample: https://stackblitz.com/edit/ttw3mi-h8ua46?file=index.js
[index.js]
var data = new ej.base.extend([], window.zooEventsData, null, true);
var scheduleObj = new ej.schedule.Schedule({
width: '100%',
height: '650px',
selectedDate: new Date(2021, 1, 15),
views: [ej.base.Browser.isDevice ? "Day" : "Week"],
eventSettings: { dataSource: data }
});
scheduleObj.appendTo('#Schedule');
|
Regards,
Swathi Ravi