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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Dimensions and animation?

Thread ID:

Created:

Updated:

Platform:

Replies:

149407 Nov 25,2019 01:19 PM UTC Nov 27,2019 12:45 PM UTC Blazor 3
loading
Tags: TreeView
Yordan
Asked On November 25, 2019 01:19 PM UTC

Hello.
- I wonder is there a way to prevent changing the size of TreeView, and how ?
as well.
- How can I turn off the animation of expanding/collapsing (and all other animations (if there is more)) ?

Muthukrishnan Kandasamy [Syncfusion]
Replied On November 26, 2019 02:22 PM UTC

Hi Yordan, 
 
Thanks for contacting Syncfusion support. 
 
Yes, if you set width for TreeView component then it will not be changed. You can use HtmlAttributes property to set the width for Treeview. To turn off the TreeView node expand/collapse animation settings we have property TreeViewNodeAnimationSettings. We have prepared sample for your convenience. kindly refer to the below link for the sample. 
 
 
 
Please let us know if you have any concerns. 
 
Regards, 
Muthukrishnan K 


Yordan
Replied On November 27, 2019 07:32 AM UTC

The animation indeed dissipated, with HtmlAttributes set to

 "Dictionary<string, object> htmlAttribute = new Dictionary<string, object>()
    {
         { "style", "width: 300px; height:500px; overflow-y:scroll; overflow-x:hidden;" }
    };"

did the trick.

Thank You very much !

Muthukrishnan Kandasamy [Syncfusion]
Replied On November 27, 2019 12:45 PM UTC

Hi Yordan, 
 
We are glad to know that given solution works. Please let us know if you need any further assistance. 
 
 
Regards, 
Muthukrishnan K 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon