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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Selection Row Color

Thread ID:





127825 Dec 11,2016 10:22 PM UTC Dec 13,2016 12:45 PM UTC Xamarin.Forms 3
Tags: SfDataGrid
Asked On December 11, 2016 10:22 PM UTC

Hi ,

I am trying to acieve the custom color when i select the row but no success.

Is there any way to change the selected row color.



Ashok N [Syncfusion]
Replied On December 12, 2016 05:19 AM UTC

Hi Atif, 

Thanks for contacting Syncfusion support. 

We have checked your query and you can achieve your requirement by overriding GetSelectionBackgroundColor method from DataGridStyle and assigning it to the SfDataGrid.GridStyle property. Please refer the below UG link to get more details regarding DataGridStyle  

Also you can achieve this by customizing GridSelectionController class and assigning it to the SfDataGrid.SelectionController  property. Please refer the below UG link to get more details regarding GridSelectionController customizing 


Replied On December 12, 2016 03:13 PM UTC

Nice thanks and perfect.

Ashok N [Syncfusion]
Replied On December 13, 2016 12:45 PM UTC

Hi Atif, 

Thanks for your update. Please let us know if your require further assistance on this. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon