Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Responsive Vertical Rendering: Change Column Header Color
posted

I really like the new responsive vertical render for the iGrid. However, when the the grid becomes vertical, I can't seem to figure out how to change the a header cell background color. For example, assuming the grid id is 'igrid1' and a specific column's key is 'Column1' I could use the following css to change the column headers background color:

#igrid1_Column1 {
    background: red;
}

This method no longer works when the grid goes vertical.

How would I go about modifying the column header with this new behavior in mind?

Thanks,

Kris Kunkel

Parents
No Data
Reply
  • 275
    posted

    I have half a workaround where I can modify all column headers using the selector:

    #1grid1 tbody tr td:first-child { ... }

    However, since the <td>'s in the new vertical table structure lack any defining attribute, I can't drill down to a specific header <td> using CSS.

    Anyone have a suggestion?

Children