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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom Changes

Thread ID:





147145 Sep 2,2019 09:16 AM UTC Sep 3,2019 11:32 AM UTC JavaScript - EJ 2 1
Tags: General
Asked On September 2, 2019 09:16 AM UTC

I was facing a problem in plugin i.e. remove horizontal scrollbar below the plugin. Then I get response that your new release has fix this thing.  I have download the new release of plugin and found bug is fixed now.

I have used the toolbar with syncfusion plugin. Now I want to customize the code of toolbar and use it. My question is when ever you release the update version of syncfusion plugin Is there any way my plugin get updated and custom code remain?


Gurunathan A [Syncfusion]
Replied On September 3, 2019 11:32 AM UTC

Hi Romeo, 
Greetings from Syncfusion. 
When updating the Syncfusion packages, the changes which has done directly in those files will be cleaned. This cannot be override with custom changes when updating. But instead of that, we recommend you to override the scripts using prototype in your application for any custom changes.  
For example, here overriding the prototype for getCultureValue method of Date picker 
Please find the date picker code changes in below. 
let datepickerObject: DatePicker = new DatePicker({ 
    placeholder: 'Enter a Date', 
    created: onCreate 
function onCreate() { 
    (DatePicker as any).prototype.getCultureValues = function () {  
        var culShortNames = [];  
        var cldrObj;  
        if (this.locale === 'en' || this.locale === 'en-US') {  
          cldrObj = (getValue('days.stand-alone.abbreviated', getDefaultDateObject())); // To show the day header format as "Sun", "Mon" etc.  
        else {  
          cldrObj = (this.getCultureObjects(cldrData, '' + this.locale));  
        for (var _i = 0, _a = Object.keys(cldrObj); _i < _a.length; _i++) {  
          var obj = _a[_i];  
          culShortNames.push(getValue(obj, cldrObj));  
        return culShortNames;  

Please let us know if any concerns.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon