css - How can I set the font color in a Kendo chart header? -


my css file looks this:

#productgrid .k-grid-header .k-header {        background-color: blue;        color: white !important;  } 

this works background-color not font color!

my grid code looks this:

@(html.kendo().grid<productsummary>() .name("productgrid") .columns(columns => {     columns.bound(c => c.product);     columns.bound(c => c.quantity);     columns.bound(c => c.value).clienttemplate("£#= kendo.tostring(value, \"n2\") #");     columns.bound(c => c.percentage).title("%"); }) .htmlattributes(new { style = "height: 550px;" }) .scrollable() .sortable() .datasource(datasource => datasource     .ajax()     .read(read => read.action("products_read", "products", new { region = viewbag.regions[model.regionpos].value })) ) 

my colleague helped me fix this. turns out header hyperlink.

#productgrid .k-link {     color: #ffffff !important; } 

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -