We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Editor Template. Customize title?

Hi,

I would really love an option to provide my own template, including form, title and buttons(submit/cancel). Currently the code to do any custimization seems to be very messy, and I would love the option to manage my own form in the future.

Currently I'm trying to change the title, and the buttons. Is there any way to do this?

1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team December 10, 2018 02:45 AM

 
Thank you for contacting Syncfusion support. 
 
Kindly use the below code example to customize the local words and for the same we have prepared the below sample. 
 
import { Component, OnInit, ViewEncapsulation } from '@angular/core'; 
import { 
    EventSettingsModel, DayService, WeekService, WorkWeekService, MonthService, 
    AgendaService, ScheduleComponent, View,ResizeService, DragAndDropService 
} from '@syncfusion/ej2-angular-schedule'; 
import { L10n } from '@syncfusion/ej2-base'; 
 
   L10n.load({ 
      'en-US': { 
          'schedule': { 
            "newEvent": "Add Event", 
            "saveButton": "Ok", 
           "cancelButton": "No", 
        }, 
      } 
  }); 
@Component({ 
  selector: 'app-root', 
  templateUrl: './app.component.html', 
  providers: [DayService, WeekService, WorkWeekService, MonthService, AgendaService,ResizeService, DragAndDropService], 
  encapsulation: ViewEncapsulation.None 
}) 
export class AppComponent implements OnInit { 
public selectedDate: Date = new Date(2018, 1, 15); 
   ngOnInit(): void { 
  } 
} 
 
 
Regards, 
Karthigeyan 
 


Loader.
Live Chat Icon For mobile
Up arrow icon