XAML Template Definition doesn't work for resources

When simply trying to customize the ResourceItemTemplate by simply adding the xaml it does not work.

            <d:SfSchedule.ResourceItemTemplate>

                <DataTemplate>

                    <StackLayout>

                        <Label Text="{Binding Name}" TextColor="{DynamicResource TextPrimaryColor}" />

                    </StackLayout>

                </DataTemplate>

            </d:SfSchedule.ResourceItemTemplate>


I know I can create a separate class, but why should this not work? 


8 Replies 1 reply marked as answer

MS Muniappan Subramanian Syncfusion Team June 15, 2022 10:43 AM UTC

Hi Michael,


#Regarding XAML Template Definition doesn't work for resources

Currently, we are analyzing the mentioned issue in SfSchedule. We will validate and update you on the further details in two business days (June 17th, 2022). We appreciate your patience until then.


Regards,
Muniappan S.



SS SaiGanesh Sakthivel Syncfusion Team June 17, 2022 01:31 PM UTC

Hi Michael,


#Regarding ResourceItemTemplate is not rendering correctly in the view

We have logged the issue report for the same. We will fix the issue and include the issue fix in our Weekly nuget release which is expected to roll out on July 12, 2022. We appreciate your patience until then.


You can track the status of this report through the following feedback link,

https://www.syncfusion.com/feedback/35742/resourceitemtemplate-is-not-rendering-correctly-in-the-view


Note: The provided feedback link is private, you need to login to view this feedback.


Regards,

SaiGanesh Sakthivel


Marked as answer

SS SaiGanesh Sakthivel Syncfusion Team July 12, 2022 12:03 PM UTC

Hi Michael,


#Regarding ResourceItemTemplate is not rendering correctly in the view

We have fixed the reported issue, but it takes more time for testing longer than we expected. Also due to the stability of the control, we are not including it in this weekly nuget release. But assuredly, we will include it in our upcoming weekly nuget which is expected to roll out on July 19, 2022. We will let you once nuget gets published and appreciate your patience until then.


Regards,
SaiGanesh Sakthivel



MI Michael July 12, 2022 12:47 PM UTC

thanks for the update. 

Looking forward to test myself :) 



SS SaiGanesh Sakthivel Syncfusion Team July 13, 2022 12:33 PM UTC

Hi Michael,


Thank you for the update. We will let you know once the release rolls out.


Regards,

SaiGanesh Sakthivel



SS SaiGanesh Sakthivel Syncfusion Team July 19, 2022 01:34 PM UTC

Hi Michael,


#Regarding ResourceItemTemplate is not rendering correctly in the view

We have fixed the reported issue and included the issue fix in our latest Weekly NuGet release update version 20.2.0.39 onwards which is available for download (nuget.org). 


We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.


Regards,

SaiGanesh Sakthivel



MI Michael July 21, 2022 03:08 PM UTC

I can confirm that the new release is working now!

The documentation on the website should be adjusted to explain that the actual object is mapped and that the template can contain any metadata of the object. 

As it is right now it looks like it is only possible to use the mapping ti



SS SaiGanesh Sakthivel Syncfusion Team July 25, 2022 04:57 AM UTC

Hi Michael,


Thank you for the update. We are glad to know that the provided solution is resolved the issue. Please let us know if you need any further assistance. 


Regards, 

SaiGanesh Sakthivel


Loader.
Up arrow icon