Change appoinment box size in month view

Hello

Like in topic. Appoinment box in month view is rectangle wich contain only one line of text.
In my project i must put only one appointment box per day so i want change size of this box. Box should contain 3 lines of text, how can i set this box size as constant?


4 Replies

KA Karthikraja Arumugam Syncfusion Team September 1, 2020 02:41 PM UTC

Hi Marcin, 
 
Greetings from Syncfusion. 
 
Currently, we are checking your requirement. We will check and update you further details on or before September 3, 2020. We appreciate your patience until then. 
 
Regards, 
Karthik Raja 



KA Karthikraja Arumugam Syncfusion Team September 3, 2020 02:43 PM UTC

Hi Marcin, 
 
Thank you for your patience. 
 
We have checked your requirement of changing the size of appointment view in month cell. As per scheduler implementation if you set AppointmentDisplayCount to 1, appointment size will be 1/3 of month cell height, this is the maximum height of appointment in month cell and since the size is small content wrapping support is not provided. 
 
You can achieve your requirement by using custom DataTemplate for monthcell. We have prepared a sample for your requirement, kindly check the sample. 
Sample link: MonthCellCustomization 
 
In our sample we have used Label for date text and TextBlock for Appointment view. But with custom template, drag and drop will not work. 
 
You can also check our UG documentation to know more about customizing month cell appointment view, 
We hope this helps. Kindly revert us if you have any concern. 
 
Regards, 
Karthik Raja A 



MM Marcin Marcinkowski October 12, 2020 11:56 AM UTC

Your reply was really helpful for me, so thank You. I have another problem with this solution. When my data is changed and i change ItemsSource collection. Appointments will not update. Any tip for it ? :) It work correctly only with first assigned.


KA Karthikraja Arumugam Syncfusion Team October 13, 2020 01:39 PM UTC

Hi Marcin, 
 
Thank you for the update. 
 
Currently we are checking the reported issue, we will update the details in your new query for this same issue 158668. Kindly follow up your new forum query for this issue. 
 
Regards, 
Karthik Raja A 


Loader.
Up arrow icon