Card Template in Scheduler

Hi,

How i can use card as a template in scheduler. Meanly, i want to show events as syncfusion card view. In addition, how can i change cell height according to the card items. 

Thanks

5 Replies 1 reply marked as answer

PN Praveenkumar Narasimhanaidu Syncfusion Team March 9, 2021 03:42 PM UTC

Hi Tümer, 

Greetings from Syncfusion support..! 

We have validated your requirement “Card template in scheduler” and achieved your requirement with the help of event template in scheduler. You can change cell height according to your requirement using scheduler cssClass property. We have prepared sample with shared requirements which can be downloaded from following link. 


Index.cshtml 
<ejs-schedule id="schedule" height="550" selectedDate="new DateTime(2018, 2, 15)" views="@ViewBag.view" cssClass="schedule-cell-dimension"> 
    <e-schedule-eventsettings dataSource="@ViewBag.datasource" template="@ViewBag.template"></e-schedule-eventsettings> 
</ejs-schedule> 
 

HomeController.cs 
public IActionResult Index() 
{ 
    ViewBag.datasource = GetWebinarData(); 
    ViewBag.template = "<div class='template-wrap'><div class='e-card' ><div class='e-card-image'><div class='e-card-title'><div class='subject'>${Subject}</div></div></div> <div class='e-card-content' ><div class='description'>${Description}</div></div></div></div>"; 
    return View(); 
} 
 

Please refer to below UG links for more information. 


Kindly try the above solution and get back to us if you need any further assistance. 

Regards, 
Praveenkumar. 



Marked as answer

Tümer March 9, 2021 04:32 PM UTC

Hi,

Thank you for your answer. I am not allowed sign in the link you provided. Access Denied!

Regards,
Tümer


NR Nevitha Ravi Syncfusion Team March 10, 2021 06:38 AM UTC

Hi Tümer, 

Thanks for your update. 

Could you please confirm whether you couldn’t download the shared sample or not able to refer the documentation link? Also please share the screenshot of the problem to help you out. 

Regards, 
Nevitha 



Tümer March 10, 2021 06:43 AM UTC

Hi,

When i click the link, i'm directed to another page. 

Regards,
Tümer

Attachment: Capture_d4180f29.rar


NR Nevitha Ravi Syncfusion Team March 10, 2021 07:05 AM UTC

Hi Tümer, 

Sorry for the inconveniences. 

Please find the proper downloadable link and let us know if you need any further assistance. 

Regards, 
Nevitha 


Loader.
Up arrow icon