SfTreeView Template selector?

According to this the TreeView control supports template selectors, but I can't find any ItemTemplateSelector property or similar.  I also tried setting the control style using triggers, but have been running into issues there that I suspect are related to item caching when scrolling.

1 Reply

RS Rawoof Sharief Muthuja Sherif Syncfusion Team September 28, 2018 04:03 AM UTC

Hi Peter,  
 
Thanks for using Syncfusion products.  
 
We have checked the reported query from our end. You can bind the DataTemplateSelector to the ItemTemplate of the TreeView. We have prepared the sample to replicate the issue while scrolling the items, unfortunately the reported issue does not replicated at our end.  
 
For you reference we have attached the sample and you can download it from the below link.  
 
 
Please check the reported issue occurs in our sample. If the above sample does not meet your requirement then, Could you please modify the above sample to replicate the issue which would highly help us to analyze the query better and provide an appropriate solution.                
 
Regards,  
Rawoof M.  
 


Loader.
Up arrow icon