This is a migrated thread and some comments may be shown as answers.

Set a specific cell color in the footer

1 Answer 33 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Trump
Top achievements
Rank 1
Trump asked on 20 Nov 2018, 01:08 PM

I am going to use the footer to sum all values. 

<telerik:GridViewDataColumn.AggregateFunctions>
    <telerik:SumFunction ResultFormatString="{}{0:C2}"/>
</telerik:GridViewDataColumn.AggregateFunctions>

There are many columns, one of them I want to set the foreground color as Red.(Not all columns, just one important column)

First question: How to do it?

Second question: I saw the bottom border line of the footer is  gone. Why?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Vladimir Stoyanov
Telerik team
answered on 23 Nov 2018, 10:37 AM
Hello Trump,

Thank you for the provided xaml.

In order to achieve what you are going for you can use the FooterCellStyle property of the column in question. Can you give this a try and let me know how it goes?

As for the missing bottom border line, may I ask you to provide some more information about this? Can you send over a sample picture demonstrating this and also share which theme you are using? Additionally, you can share how you have defined the RadGridView and if there are any custom styles? This will allow me to check out the scenario on my end.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Trump
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or