- Home
- Forum
- ASP.NET Core
- How to remove the first column in the Month View schedule
How to remove the first column in the Month View schedule
Hi Support:
Attachment: Month_View_83788385.zip
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
SIGN IN To post a reply.
5 Replies
SE
Sellakumar
Syncfusion Team
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
DS
dsapo
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
SE
Sellakumar
Syncfusion Team
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="Schedule1" width="100%" height="525px" current-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
DS
dsapo
December 28, 2016 03:04 PM UTC
Hi Sellakumar:
This is a perfect solution.
Thanks a lot.
David
KK
Karthigeyan Krishnamurthi
Syncfusion Team
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
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
DS dsapo
- Dec 23, 2016 07:54 PM UTC
- Jan 2, 2017 05:12 AM UTC