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

How to show only the appointment subject in the Daily and Week view

Thread ID:

Created:

Updated:

Platform:

Replies:

131959 Aug 5,2017 01:39 AM UTC Aug 11,2017 04:26 AM UTC ASP.NET Core 7
loading
Tags: Schedule
dsapo
Asked On August 5, 2017 01:39 AM UTC

Hi Support:

By default, the schedule widget shows two lines of text in each cell of the month and week view.

Would be possible to display only a single line of text (just the Subject) without the second line (the start and end time).

We need to display the appointment in the day and week view in the same way that is rendered in the month view (one line).

Thanks for your help.

David



Karthigeyan Krishnamurthi [Syncfusion]
Replied On August 7, 2017 04:53 AM UTC

Hi David, 
 
Thank you for contacting Syncfusion support. 
 
Appointment template can be used to achieve your requirement and for the same we have prepared the below sample which can be viewed from the below link. 
 
<Code> 
<script id="apptemplate" type="text/x-jsrender"> 
    <div style="height:100%"> 
        <div>{{:Subject}}</div> 
    </div> 
</script> 
 
appointmentTemplateId: "#apptemplate" 
</Code> 
 
Note: Above sample is made in JS platform for your reference. 
 
Regards, 
Karthigeyan 



dsapo
Replied On August 7, 2017 02:46 PM UTC

Hi Karthigeyan:

In my view, I used the e-apptext class to set the font color of the appointment to black.  Then when I added the appointment template the font color changes to white.

I added another ticket related with a font color issue that your team is going to fix in the upcoming release:

https://www.syncfusion.com/forums/131976/fontcolor-in-the-categorization-is-being-ignored

Could you mention to your development staff that would be great that the fix of the fontcolor would apply also when an appointment template is used.

Thanks for your help


David 







Karthigeyan Krishnamurthi [Syncfusion]
Replied On August 8, 2017 09:04 AM UTC

Hi David, 
 
Thanks for your update. 
 
Appointment font color can be changed using template option and for the same we have prepared the sample which can be viewed from the below link. 
 
<Code> 
<script id="apptemplate" type="text/x-jsrender"> 
    <div style="height:100%"> 
        <div style="color:black">{{:Subject}}</div> 
    </div> 
</script> 
</Code> 
 
Regards, 
Karthigeyan 
 



dsapo
Replied On August 10, 2017 02:03 AM UTC

HI Karthigeyan:

My only issue with this is that there is an extra blank line after the Subject.  The Timeframe is being removed, but instead is showing an empty space.

What could be missing here?

Thanks for your help.


David


 


Karthigeyan Krishnamurthi [Syncfusion]
Replied On August 10, 2017 09:37 AM UTC

Hi David,  
  
Thanks for your update. 

We would like to inform that provided information is not sufficient for us and kindly conform whether your requirement is to remove the below colored area from the appointment element? If not kindly share the image/video demo which clearly depict your requirement to proceed further. 

 

Regards, 
Karthigeyan 


dsapo
Replied On August 10, 2017 05:49 PM UTC

HI Karthigeyan:

I am going to capture send you an image that will show my issue.


Thanks


David



 


Karthigeyan Krishnamurthi [Syncfusion]
Replied On August 11, 2017 04:26 AM UTC

Hi David,   
   
Thanks for your update. 

We will wait to hear from you. 

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

;