Horizontal scrolling

How to enable horizontal scrolling in treeview? My treeview child node does not fit in the page.

7 Replies

CS Chandrasekar Sampathkumar Syncfusion Team April 30, 2020 11:08 AM UTC

Hi Eric,  
Thank you for using Syncfusion products. 
We have checked your requirement of “Horizontal scrolling” in TreeView Xamarin.Forms. As of now, SfTreeView does not support horizontal scrolling and we have already logged a feature request for the same. We will implement this feature in any of our upcoming releases. 
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then. 
Thank you for requesting this feature and helping us define it. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts. 
We are closing this incident now. You can also communicate with us regarding the open features any time using our Feature Report page. 
We will prioritize the features every release based on the demands and we do not have an immediate plan to implement this feature since we committed with already planned work. So, this feature will be available in any of our upcoming releases. 
Please upvote this feature to make this our priority. While this feature itself is important we will prioritize the features every release, based on the user demands. So, this feature will be available in any of our upcoming releases. 
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count. 
Regards, 
Chandrasekar Sampathkumar 



JK Juergen Kneidinger replied to Chandrasekar Sampathkumar July 22, 2021 01:48 PM UTC

Was this feature ever implemented? It's kind of odd to not being able to scroll horizontally since it's in the nature of a tree view that the programmer often doesn't know upfront how many levels there will be, thus how much horizontal space it will consume.



LN Lakshmi Natarajan Syncfusion Team July 23, 2021 05:28 AM UTC

Hi Juergen, 
 
Thank you for using Syncfusion products. 
 
We would like to inform that as of now plan for implementation of reported feature request is uncertain. Currently, We are working on already planned features and further implementation of this feature request will be considered only based on the customer request. We will let you know once the implementation of this feature done meantime you can follow the feedback for your reference. 
 
 
Regards, 
Lakshmi Natarajan 



JK Juergen Kneidinger July 26, 2021 11:18 AM UTC

Thank you, but when I click the feedback link I get an "access denied" error. Besides that, is there any workaround you could suggest, like wrapping the TreeView into a ScrollViewer?



LN Lakshmi Natarajan Syncfusion Team July 27, 2021 12:12 PM UTC

Hi Juergen, 
 
Sorry for the inconvenience caused. 
 
#Regarding when I click the feedback link I get an "access denied" error 
 
We have given you access to the Feedback. Also, the provided feedback link is private, you need to login to view this feedback. 
 
#Regarding is there any workaround you could suggest, like wrapping the TreeView into a ScrollViewer? 
 
We have checked the reported query from our side. Unfortunately, we could not achieve the reported scenario directly. Also, you can achieve your requirement by loading the SfTreeView inside the ScrollView and set the WidthRequest manually based on your requirement.  
 
Please refer to the code snippets for the same, 
<ScrollView Orientation="Horizontal"> 
    <StackLayout> 
        <syncfusion:SfTreeView x:Name="treeView"  
                        ChildPropertyName="SubFiles"  
                        ItemTemplateContextType="Node"  
                        AutoExpandMode="AllNodesExpanded" 
                        ItemsSource="{Binding ImageNodeInfo}" 
                        WidthRequest="1000"> 
            <syncfusion:SfTreeView.ItemTemplate> 
                <DataTemplate> 
                    <Grid x:Name="grid" RowSpacing="0" > 
                        ... 
                    </Grid> 
                </DataTemplate> 
            </syncfusion:SfTreeView.ItemTemplate> 
        </syncfusion:SfTreeView> 
    </StackLayout> 
</ScrollView> 
 
Please let us know if you need further assistance. 
 
Lakshmi Natarajan 
 



JK Juergen Kneidinger August 3, 2021 01:26 PM UTC

I still don't have access even though I am logged in.

Thanks for the workaround, it's not really a nice solution but it does the job for now. I still would like to vote for that feature since I never encountered a TreeView before that does not allow horizontal scrolling. 



LN Lakshmi Natarajan Syncfusion Team August 4, 2021 12:21 PM UTC

Hi Juergen, 
 
Sorry for the inconvenience caused. 
 
We have provide the access to the feedback for you now. Please check again and let us know if you face still face any issues.  
 
Lakshmi Natarajan 
 


Loader.
Up arrow icon