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

How to change Details Grid Header

2 Answers 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alexandru Stefan
Top achievements
Rank 1
Alexandru Stefan asked on 24 Jul 2015, 04:08 PM

Hello,

I am new on this forum and I tried already to find answer at my question between existing post but I couldn't find anything. Please redirect me if there is a similar thread around.

I have a Kendo Ui Gridview with some info and each row has some details (another Kendo UI gridview as in http://demos.telerik.com/kendo-ui/grid/hierarchy). I want to change the header color of the details gridview. I have tried to change the color of the main grid but it applies to the details gridview too.‚Äč

Any ideeas how i can achieve this?

 

Thank you in advance and please tell me if something it's unclear!

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Plamen Lazarov
Telerik team
answered on 28 Jul 2015, 01:24 PM

Hello,

If my understanding is correct your intent is to change the header color of the subgrid only. This could be achieved with the following CSS styles:  

<style>
  .k-grid-content table thead tr th {
    background-color: red;
  }
</style>

For convenience here is a basic example


Regards,
Plamen Lazarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Alexandru Stefan
Top achievements
Rank 1
answered on 10 Aug 2015, 08:42 AM
It worked! Thank you and sorry for late response.
Tags
Grid
Asked by
Alexandru Stefan
Top achievements
Rank 1
Answers by
Plamen Lazarov
Telerik team
Alexandru Stefan
Top achievements
Rank 1
Share this question
or