我在iOS上使用RadCalendar。对于月视图,我有内联事件。当我单击某天时,该天的事件将出现在水平栏中,而不是在日历的月视图中打开。或者,我可以使用弹出模式,事件将显示在弹出窗口中。在“月”视图中一切正常。
但是,内联事件不会出现在“周”视图中。我无法在线找到适用于“周”视图的内联事件的任何示例,但是我确实找到了它应该起作用的参考。它似乎不需要任何特殊的配置即可工作-只需在XML中将eventsViewMode设置为“ Inline”即可。有没有人能够将内联事件与周视图一起使用?
这是我的XML:
<RadCalendar id="calendar"
[eventSource]="calendarEvents"
eventsViewMode="Inline"
selectionMode="Single"
[transitionMode]="calendarTransitionMode"
(navigatedToDate)="onNavigatedToDate($event)"
(navigatingToDateStarted)="onNavigatingToDateStarted($event)"
(viewModeChanged)="onViewModeChanged($event)"
(loaded)="onCalendarLoaded($event)"
(doubleTap)="onDoubleTap($event)"
(dayViewEventSelected)="onDayViewEventSelected($event)"
(inlineEventSelected)="onInlineEventSelected($event)"
(dateSelected)="onDateSelected($event)"
[monthViewStyle]="monthViewStyle"
[weekViewStyle]="weekViewStyle"
[monthNamesViewStyle]="monthNamesViewStyle"
[dayViewStyle]="dayViewStyle"
>