<button class="mb-3" ejs-button cssClass='e-info' (click)='editor()'> New Event </button>
<ejs-schedule [currentView]="setViews" [selectedDate]="setDate" startHour='08:00' endHour='20:00'
[eventSettings]="eventObject" #scheduleObj (actionBegin)="onActionBegin($event)"
(popupOpen)="onPopupOpen($event)">
<e-views>
<e-view option='Day'></e-view>
<e-view option='Week' isSelected='true'></e-view>
<e-view option='Month'></e-view>
<!-- <e-view option='MonthAgenda'></e-view>
<e-view option='Agenda'></e-view> -->
</e-views>
<ng-template #editorTemplate let-data>
<table class="custom-event-editor" width="100%" cellpadding="5">
<tbody>
<tr>
<td class="e-textlabel">Lesson</td>
<td colspan="4">
<!-- <ejs-dropdownlist id='ddlelement' [dataSource]='lessonData' [fields]='lessonfields'
placeholder="Select Lesson"></ejs-dropdownlist> -->
<input type="text" id="lessonMaster" name="lessonMaster" class="e-field"
style="width: 100%" />
</td>
</tr>
<tr>
<td class="e-textlabel">Hrs to Schedule</td>
<td colspan="4">
<label for="">45 hrs and 30 min</label>
</td>
</tr>
<tr>
<td class="e-textlabel">Arena</td>
<td>
<!-- <ejs-dropdownlist id='ddlelement' [dataSource]='ArenaData'
placeholder='Select Arena'></ejs-dropdownlist> -->
<input type="text" id="arenaMaster" name="arenaMaster" class="e-field"
style="width: 100%" />
</td>
</tr>
<tr>
<td class="e-textlabel">From</td>
<td colspan="4">
<input id="StartTime" class="e-field" type="text" name="StartTime" />
</td>
</tr>
<tr>
<td class="e-textlabel">To</td>
<td colspan="4">
<input id="EndTime" class="e-field" type="text" name="EndTime" />
</td>
</tr>
<tr>
<td colspan="4">
<div id='RecurrenceEditor'>
<!-- <ejs-recurrenceeditor class="e-field"></ejs-recurrenceeditor> -->
</div>
</td>
</tr>
<tr>
<td class="e-textlabel">Comments</td>
<td colspan="4">
<textarea id="Description" class="e-field e-input" name="Description" rows="3"
cols="50"
style="width: 100%; height: 60px !important; resize: vertical"></textarea>
</td>
</tr>
</tbody>
</table>
</ng-template>
</ejs-schedule>