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

Alternate row background in winrt datagrid

Please provide a sample code to change alternate row background in winrt datagrid. 


3 Replies

RA Riyaj Ahamed I Syncfusion Team September 4, 2013 05:13 AM UTC

Hi Khurram,

 

Thanks for contacting Syncfusion support.

 

You can apply the alternative row background for SfDataGrid by using “RowStyleSelector” property. To know more about this please refer the following UG link,

 

UG Link: http://help.syncfusion.com/UG/winrt/default.htm#!Documents/stylesandtemplates.htm

 

Note: In that document “RowStyleSelector” category we have the sample code for alternative row background.

 

Please let us know if you need further assistance.

 

Regards,

Riyaj Ahamed I



KB Khurram Bhatti September 6, 2013 12:18 PM UTC

Thank you very much Riaj. It was really helpful. We are now able to change the colors for alternate rows.



JG Jai Ganesh S Syncfusion Team September 11, 2013 11:45 AM UTC

Hi Khurram,

 

Thanks for your update.

 

Please let us know if you need further assistance.

 

Thank you,

Jai Ganesh S


Loader.
Up arrow icon