How to style the detailInit?

2 posts, 1 answers
  1. Chris
    Chris avatar
    19 posts
    Member since:
    Feb 2016

    Posted 13 Oct Link to this post

    I was wondering what CSS is needed to style the detailInit header and its rows?
  2. Answer
    Stefan
    Admin
    Stefan avatar
    264 posts

    Posted 14 Oct Link to this post

    Hello Chris,

    I can suggest using the following CSS selectors to modify the header and the rows of the detail Grid. Please have in mind that the selectors can vary if custom templates are used:

    #gridID .k-detail-row .k-grid-header .k-header>.k-link{
     color: blue;
    }
    #gridID .k-detail-row  td{
     color: red;
    }
    #gridID .k-detail-row .k-alt td{
     color: aqua;
    }

    Additionally, I can suggest checking the article for the Kendo UI widgets appearance:

    http://docs.telerik.com/kendo-ui/styles-and-layout/appearance-styling

    I hope this is helpful.

    Regards,
    Stefan
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top