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