Automatically scrolling a SfListView that contains a SfNumericTextBox

Hi.

I'm using a SfListView that contains a SfNumericTextBox as one of the columns. The items in the ListView span more than one page so a scrollbar is available. When I am at the foot of a page and press the tab key, the next row is not scrolled - control comes off the ListView to another control on the page. Is there a way to get the listview to scroll, bringing the next row into view and giving the SfNumericTextBox focus?

Well, this is what happens on the UWP project - I have not yet tried it on an iOS device.

Thanks in advance


1 Reply 1 reply marked as answer

SS SaiGanesh Sakthivel Syncfusion Team February 16, 2021 01:34 PM UTC

Hi Vin, 
 
Thank you for using syncfusion products. 
 
#Regarding Automatically scrolling a SfListView that contains a SfNumericTextBox 
We would like to inform you that as per implementation of SfListview, there is an Limitation of using Keyboard Navigation in SfListview control. Please refer to the following UG Documentation about limitation of using KeyBoardNavigation in SfListview. 
 
 
We would like to inform you that you can achieve your requirement with the help of placing listview inside the scrollview and set the IsScrollingEnabled has false in Sflistview. Please refer to the following code snippet for your reference. 
 
Code Snippet: 
<ScrollView> 
    <syncfusion:SfListView x:Name="listView"  
                            ItemSpacing="1"  
                            ItemSize="180" 
                            IsScrollingEnabled="False" 
                            BackgroundColor="AliceBlue" 
                            ItemsSource="{Binding contactsinfo}"> 
        <syncfusion:SfListView.ItemTemplate > 
         
 
Please refer to the tested sample in the following link for you reference. 
 
Please let us know if you have any concern. 
 
Regards, 
SaiGanesh Sakthivel 


Marked as answer
Loader.
Up arrow icon