Event not saved and Actionbegin not get triggered.

Hi,

I was trying to implement ejs-Schedule on my project. I faced some issue while I tried to customise the editor window. I am using a team view, having e-resource for showing employee details. I also want custom fields in the editor window, but while i try to make one, event is not saved nor actionBegin or actionComplete getting triggered.

I have replicated the issue in this stackblitz code, please have a look.

https://stackblitz.com/edit/angular-e2mxbu


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team August 6, 2021 11:36 AM UTC

Hi Arvind, 
  
Thanks for using Syncfusion Products. 
  
We have validated your reported query "Event not saved and ActionBegin not get triggered" and let you know that you missed to define the resource field in editorTemplate customization which is the cause for the reported issue. For the same we have modified the sample which can be viewed from the following link. 

  
app.component.html:  
             <tr> 
                <td class="e-textlabel">To</td> 
                <td colspan="4"> 
                  <ejs-datetimepicker id="EndTime" class="e-field" data-name="EndTime" format="M/dd/yy h:mm a" 
                    [value]='dateParser(data.endTime || data.EndTime)'></ejs-datetimepicker> 
                </td> 
              </tr> 
              <tr> 
                <td class="e-textlabel">Employee</td> 
                <td colspan="4"> 
                  <ejs-multiselect id='EmployeeId' class="e-field" data-name="EmployeeId" 
                    placeholder='Choose a employee' [dataSource]='employeeDataSource' [fields]='fields'> 
                  </ejs-multiselect> 
                </td> 
              </tr> 
  
Kindly try the above sample and let us know if this meets your requirement. 
  
Regards, 
Satheesh Kumar B 


Loader.
Up arrow icon