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

WinRT SfDataGrid - Change foreground of selected row (Font-color)

Hello SyncFusion team!

I am currently working with your SfDataGrid control in windows 8 metro/winRT. I would like to change the font-color of a selected row. Unfortunately i can't seem to get the whole GridModelOptions HighlightSelectionForeground thing working. Is this maybe only a WPF-DataGrid functionality? The SfDataGrid i am working with has no model or options or anything like that.

Thanks in advance,
martin

1 Reply

PS Prakash Selvaraj Syncfusion Team March 6, 2013 08:49 AM UTC

Hi Martin,

 

Thank you for choosing Syncfusion products.

 

We have analysed your query, as of now we are not giving any API to set foreground colour for selection. But you can achieve your requirement by editing Row and Cell style. We have created a simple sample to achieve your requirement. Kindly refer the below sample.

 

Sample: SfGrid.zip

 

Please let us know if you need further assistance.

 

 

Regards,

Prakash S.


Loader.
Live Chat Icon For mobile
Up arrow icon