| <div class="control-section"> <ejs-schedule #scheduleObj width='100%' height='550px' [selectedDate]="selectedDate" [eventSettings]="eventSettings" [group]="group" (actionBegin)="onActionBegin($event)" (popupOpen)="onPopupOpen($event)" (eventRendered)="onEventRendered($event)" [showQuickInfo]="showQuickInfo"> <e-resources> <e-resource field='AirlineId' title='Airline Name' name='Airlines' [allowMultiple]='allowMultiple' [dataSource]='resourceDataSource' textField='AirlineName' idField='AirlineId' colorField='AirlineColor'> </e-resource> </e-resources> <e-views> <e-view option="Day"></e-view> <e-view option="Week"></e-view> <e-view option="WorkWeek"></e-view> <e-view option="Month"></e-view> </e-views> <ng-template #editorTemplate> <table class="custom-event-editor" width="100%" cellpadding="5"> <tbody> <tr> <td class="e-textlabel">Service By:</td> <td colspan="4"> <input id="AirlineId" class="e-field e-input" type="text" value="" name="AirlineId" style="width: 100%" /> </td> </tr> <tr> <td class="e-textlabel">Summary</td> <td colspan="4"> <input id="Subject" class="e-field e-input" type="text" value="" name="Subject" style="width: 100%" /> </td> </tr> -------------------- -------------------- -------------------- </tbody> </table> </ng-template> </ejs-schedule> </div> |
| import { Component, ViewEncapsulation, ViewChild } from '@angular/core'; import { extend } from '@syncfusion/ej2-base'; import { DropDownList } from '@syncfusion/ej2-dropdowns'; import { DateTimePicker } from '@syncfusion/ej2-calendars'; import { PopupOpenEventArgs, EventRenderedArgs, ScheduleComponent, MonthService, DayService, WeekService, WorkWeekService, EventSettingsModel, GroupModel } from '@syncfusion/ej2-ng-schedule'; import { resAirlinesData } from './datasource'; /** * Schedule editor template sample */ @Component({ selector: 'app-root', templateUrl: './app.component.html', styles: [` .custom-event-editor .e-textlabel {
SIGN IN To post a reply.
12/29/2025 01:24:25 PM
Sun, 15 December 2024 03:30:00 UTC
Sun, 15 December 2024 03:30:00 AM
Wed, 16 Feb 2022 04:59:00 UTC
|