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. Image for the cookie policy date
close icon

How to create a custom template for each type of view

Hi, 

How can in create a custom view for each type of view (day, week, month).

Thank you,

10 Replies

NM Nijamudeen Mohamed Sulaiman Syncfusion Team June 3, 2014 09:06 AM UTC

Hi Abdelhamid

 

Thanks for your interest in Syncfusion products.

 

Currently we don’t have the support to create a custom view in Schedule control. But we are able to achieve your requirement by overriding the default templates of schedule control.

 

So could you please share more details related to the custom view along with screenshots (if possible). So that it could be very helpful for us to understand your requirement clearly and provide you a better solution.

 

Please let us know if you have any queries.

 

Thanks,

Nijamudeen M



AB Abdelhamid June 3, 2014 02:15 PM UTC

Thank you for your answer. Simply i want to show a TextBlock only in the month and week template.


NM Nijamudeen Mohamed Sulaiman Syncfusion Team June 4, 2014 03:03 PM UTC

Hi Abdelhamid,

 

Thanks for your update.

 

Yes, we can add any content in the schedule by overriding the default template of the items in the Schedule. Could you please provide us more information regarding the item/area on which you need to add the TextBlock. If possible please provide us a screenshot. So that it will be helpful for us to analyze further on your requirement and provide you a possible solution.

 

Please let us know if you have any queries.

                                                                                                                                                       

Thanks,

Nijamudeen M.



AB Abdelhamid June 10, 2014 03:31 PM UTC

Hi,

I want to show the name and the adress in the day view and only the name in the week and month view.

Thank you,


NM Nijamudeen Mohamed Sulaiman Syncfusion Team June 11, 2014 01:37 PM UTC

Hi Abdelhamid, 

 

Thanks for the update.

 

Based on the provided information we suspect that your requirement is to show the details on the appointment and it can be achieved by overriding the default template for the appointments in Schedule Control.

 

Could you please confirm us that the above mentioned is your requirement? So that we can work further on it and provide you a possible solution.

 

If it is not related to your requirement and could you please mention where you exactly want to show the name and address like in the area of Header or Appointments etc. It will be very helpful for us to analyse on it and provide you the possible solution.

 

Please let us know, if you have any queries.

 

Thanks,

Nijamudeen M.



AB Abdelhamid June 11, 2014 01:44 PM UTC

Thanks for the answer,

i already overridden the appointment template to show custom informations but i want to show a different information for each schedule type (Week and Month).



NM Nijamudeen Mohamed Sulaiman Syncfusion Team June 12, 2014 02:02 PM UTC

 

Hi Abdelhamid,

 

Based on the provided information we have prepared sample by overriding the default template of header title bar view. Please find the sample in the attachment.

 

If the sample doesn`t meet your requirement could you please provide us more information along with screen shot (if possible). It will be very helpful for us to analyse on it and provide you the possible solution.

 

Please let us know, if you have any queries.

 

Thanks,

Nijamudeen M.


Attachment: ScheduleHeaderFormatChange_WinRT_8fade70e.zip


AB Abdelhamid June 19, 2014 07:53 AM UTC

Thank you for the sample. But i want to change the appointment template not the header template.


NM Nijamudeen Mohamed Sulaiman Syncfusion Team June 20, 2014 11:44 AM UTC

 

Hi Abdelhamid,

 

We are analyzing on this query and we will let you know the status of this in one business day (Jun 23, 2014).

 

Please let us know if you have any concerns.

 

Regards,

Nijamudeen M.



NM Nijamudeen Mohamed Sulaiman Syncfusion Team June 23, 2014 12:53 PM UTC

Hi Abdelhamid,

 

We appreciate your patience.

 

Currently we don’t have any direct support to change the appointment template. But your requirement can be achieved by using converters. Based on the provided information we have prepared sample by overriding the default template of the appointments in Schedule Control. Please find the sample in the attachment.

 

In the below sample we have used converters to change the appointment content when the schedule type changes.

 

If the sample doesn`t meet your requirement could you please provide us more information along with screen shot (if possible). It will be very helpful for us to analyse on it and provide you the possible solution.

 

Please let us know, if you have any queries.

 

Thanks,

Nijamudeen M.


Attachment: CustomAppointmentView_b04642d9.zip

Loader.
Up arrow icon