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

Add image and text under resource name

Thread ID:

Created:

Updated:

Platform:

Replies:

148518 Oct 23,2019 12:16 PM UTC Oct 24,2019 06:59 AM UTC Angular - EJ 2 1
loading
Tags: Schedule
chevron
Asked On October 23, 2019 12:16 PM UTC

Hello,

I'd like to know how is it possible to add image and text under the resource name, like this :



Vinitha Devi Murugan [Syncfusion]
Replied On October 24, 2019 06:59 AM UTC

Hi chevron, 
 
Syncfusion Greetings 
 
You can customize the resource header bar using resourceHeaderTemplate option of the scheduler for the same we have prepared the below sample.  
 
 
  <ng-template #resourceHeaderTemplate let-data> 
        <div class='template-wrap'> 
          <div class="{{getEmployeeImage(data)}}"></div> 
          <div class="resource-details"> 
            <div class="resource-name">{{getEmployeeName(data)}}</div> 
            <div class="resource-designation">{{data.resourceData.designation}}</div> 
          </div> 
        </div> 
      </ng-template> 
 
Kindly refer below API and UG link. 
 
Regards, 
M.Vinitha devi 


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.

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