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. Image for the cookie policy date

Show scrollbar always

How I can show scrollbar always?

1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team March 20, 2019 10:48 AM UTC

Hi Kirill, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information, we have checked your requirement of “Showing Scroll bar always in DataGrid” Xamarin.Forms and as of now we don’t have direct support for the same. In the default scroller itself don’t have this support. We have already reported this to Xamarin team and you can refer the below Bugzilla report for more details about this.       
   
  
You can achieve this requirement in sample level by using slider, please refer following code example for how to scroll the SfDataGrid using Slider.  
  
 [c#] 
slider.ValueChanged += Slider_ValueChanged;  
slider.Value = 1;  
slider.Maximum = 10;  
slider.Minimum = 1;  
  
private void Slider_ValueChanged(object sender, ValueChangedEventArgs e)  
 
    dataGrid.ScrollToColumnIndex((int)(e.NewValue));  
 
   
We have prepared the sample and attached the sample for your reference you can download the same from the below link.  
  
 
We hope this helps. Please let us know, if you need any further assistance. 
 
Regards,
Subburaj Pandian V  


Loader.
Live Chat Icon For mobile
Up arrow icon