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

Change static text "add title"

Hello,

I 've been following the Globalization and Localization tutorial and I can't find a way to change a specific text.
When you add a new event without title the title becomes "add title".
For example, click on a cell and save without adding title, and I don't know how to change that.
I've tried changing from static scheduler text, noTitle and addTitle but didn't work. How can I change that?

I've added a sample with the changed static text

Attachment: schedul_275a5eae.rar

3 Replies

VD Vinitha Devi Murugan Syncfusion Team November 8, 2019 06:40 AM

Hi theofilos, 
 
Syncfusion Greetings. 
 
We achieved your requirement by making use of actionBegin event of the scheduler and same can be modified in your shared sample. 
 

function onActionBegin(args) { 
  if (args.requestType === "eventCreate") { 
  args.data[0].Subject = (args.data[0].Subject === "Add title") ? "Προσθήκη τίτλου" : args.data[0].Subject; 
  } 
  } 

 
Regards, 
M.Vinitha devi 



VA Vasilis November 8, 2019 07:32 AM

Thank you!


VD Vinitha Devi Murugan Syncfusion Team November 11, 2019 02:42 AM

Hi theofilos, 
 
You are most welcome 😊 
 
Regards, 
M.Vinitha devi 


Loader.
Live Chat Icon For mobile
Up arrow icon