<e-schedule-eventsettings template="#apptemplate">
<e-data-manager url="/Home/LoadData" crudUrl="Home/UpdateData" adaptor="UrlAdaptor" crossDomain="true"></e-data-manager>
</e-schedule-eventsettings> |
<ejs-schedule id="schedule" height="550px"
popupOpen="onPopupOpen" cssClass="schedule-date-header-template" dateHeaderTemplate="@template">
<e-schedule-eventsettings template="#apptemplate">
<!-- wrong field mapping is done below -->
<e-eventsettings-fields id="TravelId">
<e-field-subject name="TravelSummary"></e-field-subject>
<e-field-location name="Source"></e-field-location>
<e-field-description name="Comments"></e-field-description>
<e-field-isallday name="FullDay"></e-field-isallday>
<e-field-starttime name="DepartureTime"></e-field-starttime>
<e-field-endtime name="ArrivalTime"></e-field-endtime>
<e-field-starttimezone name="Origin"></e-field-starttimezone>
<e-field-endtimezone name="Destination"></e-field-endtimezone>
</e-eventsettings-fields>
<e-data-manager url="/Home/LoadData" crudUrl="Home/UpdateData" adaptor="UrlAdaptor" crossDomain="true"></e-data-manager>
</e-schedule-eventsettings>
</ejs-schedule> |