Hi Arthur,
Thanks for contacting syncfusion forum.
Query: I would like to have some sliding animations on expand and collapse in a treegrid component we are using.
We achieved your query by using the CSS styles.
Please refer to the below code example,
<style> .e-treegrid .e-treegridexpand, .e-treegrid .e-treegridcollapse { width: 18px; animation-name: example; animation-duration: 10s; } @@keyframes example { from {background-color: red;} to {background-color: yellow;} } </style> |
Please refer to the below screenshot,
If the above solution, does not meet your requirement kindly share the detailed explanation of your requirement, confirm whether you want to show the animation while the expand/collapse operation is performed or show the animation on the initial render. and video demo/screenshot of your requirement to proceed further.
Kindly get back to us for further assistance.
Regards,
Pon selva