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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to remove the first column in the Month View schedule

Thread ID:

Created:

Updated:

Platform:

Replies:

128004 Dec 23,2016 07:54 PM UTC Jan 2,2017 05:12 AM UTC ASP.NET Core 5
loading
Tags: Schedule
dsapo
Asked On December 23, 2016 07:54 PM UTC

Hi Support:

We need to know if its possible to remove the first column or at least the data inside of it in the Month View schedule.

Please open the attachment where is highlighted in red the column that we would like to remove.

Thanks in advanced.

David

Attachment: Month_View_83788385.zip

Sellakumar [Syncfusion]
Replied On December 27, 2016 03:57 PM UTC

Hi David, 
  
Thanks for contacting Syncfusion support. 
  
Yes, it is possible to remove the first column of the month view in Scheduler and for the same, we have prepared the demo sample in jsplayground link as follows: 
  
The timeScale property needs to be used to achieve your requirement as given below, 
  
<code> 
 
<ej-schedule id="Schedule1" width="100%" height="525px" current-view="month"> 
                <e-time-scale enable="false"></e-time-scale> 
</ej-schedule> 
 
</code> 
  
Also, please refer the below UG document link for further reference: 
  
Kindly revert us, if you need any further assistance on this. 
  
Regards, 
Sellakumar K 


dsapo
Replied On December 27, 2016 08:32 PM UTC

Hi Sellakumar:

Would be possible to apply this setting only to the Month View to avoid affecting the Week and Day view.

Thanks again.

David 

Sellakumar [Syncfusion]
Replied On December 28, 2016 12:58 PM UTC

Hi David, 
  
Thanks for your update. 
  
To achieve your mentioned requirement, we suggest you to follow the below work-around solution by using the “navigation” client-side event. The code snippet is as follows: 
  
<code> 
  
    <ej-schedule id="Schedule1width="100%height="525pxcurrent-view="month"navigation="onNavigation"> 
        <e-time-scale enable="false"></e-time-scale> 
    </ej-schedule> 
  
</code> 
  
<code> 
  
    function onNavigation(args) { 
        if (args.requestType == "viewNavigate") { 
            $("#Schedule1").ejSchedule({ 
                timeScale: { enable: (args.currentView == "month") ? false : true } 
            }); 
        } 
    } 
  
</code> 
The above code snippet switches on/off the timescale option, as per the current view.  
 
Kindly try the above solution and revert us, if you need any further assistance on this.  
 
Regards, 
Sellakumar K

dsapo
Replied On December 28, 2016 03:04 PM UTC

Hi Sellakumar:

This is a perfect solution.

Thanks a lot.

David

 

Karthigeyan Krishnamurthi [Syncfusion]
Replied On January 2, 2017 05:12 AM UTC

Hi David, 
  
Thanks for your update and we are happy to hear that your problem has been solved.  
 
Kindly let us know, if you need any further assistance. 
 
 
Regards, 
Karthigeyan 


CONFIRMATION

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.

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

;