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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CellStyle Foreground doesn't work with 17.1460.0.38

Thread ID:

Created:

Updated:

Platform:

Replies:

144447 May 7,2019 07:12 AM UTC May 8,2019 01:42 PM UTC WPF 2
loading
Tags: SfDataGrid
Victor Dienstbier
Asked On May 7, 2019 07:12 AM UTC

Hi there,


yesterday I updated to the newest Syncfusion version. Since then the CellStyle for my SfDataGrid doesn't work anymore.

I have a DataGRid like this:

<syncfusion:SfDataGrid x:Name="dtgKPI_Edit"
                                   ItemsSource="{Binding KPIView}"
                                   SelectedItem="{Binding SelectedKPI}"
                                   CellStyle="{StaticResource customCellStyle}" />

And the customCellStyle like this:

<Style TargetType="syncfusion:GridCell" x:Key="customCellStyle">
            <Setter Property="Foreground" 
                    Value="{Binding Cluster.Color}" />
        </Style>

Everything yorked fine but since the update it doesn't work with the Foreground. If I change the Property to Background it works for the Background.

Has anything changed or how can I apply the Fontcolor corecctly?


Best wishes!


Victor

Adhikesevan Kothandaraman [Syncfusion]
Replied On May 7, 2019 01:48 PM UTC

HI Victor, 
 
Thanks for contacting Syncfusion support. 
 
We are currently working on your query with high priority. We will get back to you with the complete details on this at 9th May,2019. 
Thanks for your patience until then.  
 
Regards, 
Adhi 


Adhikesevan Kothandaraman [Syncfusion]
Replied On May 8, 2019 01:42 PM UTC

Hi Victor, 

Thanks for your patience.  

We have analyzed your reported scenario at our end. And based on that we have created a simple sample to replicate your scenario and it working fine with the current version 17.1.0.38. Refer to the attached sample, 

Sample: 
 
If your scenario is different from this, Please modify the attached sample to replicate your scenario. It will be helpful for us to provide the solution at the earliest. 

Regards, 
Adhi 


CONFIRMATION

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

Live Chat Icon For mobile
Live Chat Icon