Dynamically move the position of the expander to the top of the screen

Hi Team,

I am working on the SFExpander inside the listview, I want to highlight the user selected one to the top of the screen

Example: I have 5 Expanders in a ContentPage, just assume the 5th Expander heading is in the bottom of the mobile device so once the user click on that header the Expander opening the content but the user wants to scroll the page to see the content of the expander, so is there any option that the selected expander can move little bit top to the screen so the user can understand the expander is showing some content.


1 Reply

LN Lakshmi Natarajan Syncfusion Team July 5, 2021 05:16 AM UTC

Hi Praveen, 
 
Thank you for using Syncfusion products. 
 
We have checked the reported query “Is there any option that the selected expander can move little bit top to the screen so the user can understand the expander is showing some content” from our side. We would like to inform you that you can achieve your requirement by bringing the ListViewItem to the View when expanding using the ScrollToRowIndex method.  
 
Please find our online documentation to achieve your requirement, 
 
Please let us know if you need further assistance. 
 
Regards, 
Lakshmi Natarajan 


Loader.
Up arrow icon