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

Display subject in monthview

Thread ID:





129707 Mar 29,2017 06:49 PM UTC Apr 7,2017 04:20 AM UTC LightSwitch HTML 3
Tags: Schedule
Stephen Barash
Asked On March 29, 2017 07:18 PM UTC

I'd like to display the Start Time in a monthview cell like Microsoft Outlook does. I see a similar request in your Xamarin forums (Thread ID 127323), but the Xamarin properties and events suggested don't seem to be available in the JavaScript ejSchedule properties and events. Can I do this? Thank you, Stephen Barash

Karthigeyan Krishnamurthi [Syncfusion]
Replied On March 30, 2017 05:42 AM UTC

Hi Stephen, 
Thank you for contacting Syncfusion support. 
We have prepared the below sample to display the Start time in month view appointments using template option and kindly visit the below link to know more about the template support. 
Kindly refer the below code example used in the sample. 
<script id="apptemplate" type="text/x-jsrender"> 
        {{if View == "month"}} 
        <div style="height:100%"> 
            <div style='float:left; '>{{:~format(StartTime,"month")}}</div><br> 
        <div style="height:100%"> 
            <div style='float:left; '>{{:~format(StartTime,"strTime")}}</div> 
            <div style='float:left; '>{{:~format(EndTime)}}</div> <br> 
function _getTime(time, type) { 
            if (type == "strTime") 
                return ej.globalize.format(new Date(time), "hh:mm tt -"); 
                return ej.globalize.format(new Date(time), "hh:mm tt"); 
$.views.helpers({ format: _getTime }); 

Stephen Barash
Replied On April 6, 2017 11:54 PM UTC

That fixed it! Thank you so much!


Karthigeyan Krishnamurthi [Syncfusion]
Replied On April 7, 2017 04:20 AM UTC

Hi Stephen,  
We are happy that your requirement was fulfilled.  
Please let us know if you need further assistances.  


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

or the page will be automatically redirected to 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