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

Scrollbar color in SfDataGrid

Hi all,

We are using SfDataGrid with dark theme. 
In the dark theme the scrollbar is not visible or the color of the scrollbar is very similar to the background color.

How to change color of the scrollbar?
I don't find any property to customize the scrollbar.

Regards

Urs 


4 Replies

SV Suja Venkatesan Syncfusion Team November 22, 2022 10:21 AM

Hi Urs Gesar,


We would like to let you know that currently SfDataGrid does not have direct support for changing color of ScrollBar. Currently, we are checking the possibility to achieve your requirement on sample level. We will update you with further details on or before November 24, 2022. Meanwhile, could you please share the platform details(Xamarin.Forms.Android or Xamarin.Forms.iOS or Xamarin.Forms.UWP) and Xamarin.Forms, SfDataGrid version? It will be more helpful for us to provide a timely solutions.


Regards,

Suja



UG Urs Geser November 22, 2022 10:55 AM

Hi Suja,

We are using Xamarin Forms V19.3.0.46.


Regards

Urs



SV Suja Venkatesan Syncfusion Team November 24, 2022 10:24 AM

We would like to inform you that you can alter the color of the ScrollBar on native platforms by using the renderer. We have used ExtendedScrollView in SfDatagrid which inherit from Xamarin.Forms.ScrollView, and we have customized the it through renderer, if we overwrite in it sample level then it will affect the functionality of SfDataGrid. Please let us know if you need any further assistance.



UG Urs Geser replied to Suja Venkatesan November 24, 2022 10:27 AM

Hello Suja,

Do you have an example code for this?


Regards

Urs


Loader.
Live Chat Icon For mobile
Up arrow icon