How to set style for a column in an extjs 4 grid [closed]


Tags: css,extjs,grid,styles,multiple-columns

Problem :

I would like to set a columns css style, but how can i get every third column?

The grid consists of only one row: grid

I found that it's possible to look after certain cell content, also i found a method to loop the index of a row, but not for a column!



Solution :

YES you can! By using the pseudo class :nth-child(3n).

Check this demo.


    CSS Howto..

    how to make jquery transition smoothly

    how to make a line between div boxes - simple timeline experiment

    how to align text input in Angular-Material tool bar?

    How can I scale element height and width using CSS?

    How to animate selection / deselection in ace editor?

    How to remove the default active tab color when another tab is active using jquery

    How to check if user is in high contrast mode via JavaScript or CSS

    How to stop active effect occurring on all sub menu options from navbar

    How to position text on a baseline?

    How can I set all columns to be the same height? [duplicate]

    how to create two columns with div and CSS

    How to get a hidden content to show over cursor using html, css, javascript?

    How can I use a `comment` fa-icon and a text div to display the number of messages a user has?

    jQuery (or JS) - How to get only elements that are certain colour from an array?

    How to force Visual Studio to honor the BOM at the start of a UTF-8 encoded CSS file?

    How to aligning icon on right side of the screen when the screen size is small

    How to make ul nav fill the entire bottom of page evenly (without table display)

    How to Skew divs with css

    How to simulate multiple
    tag with CSS

    How to make a custom clickable shape with CSS to cover the exact needed area?

    CSS: How to attach an arrow to a div and make it overlap the border

    How to get Facebook Like Box “Dark Scheme” to work correctly? (Background is transparent.)

    CSS Grow on hover adds padding to the bottom of an image, how do I stop this from happening?

    How to not inherit CSS styles from parents? [duplicate]

    CSS: How to get a button to always be to the left of another button that's in a corner?

    How to have a background image wider than the content area of a website (without scrollbars)

    How do CSS radio tabs work?

    How to apply CSS using User Scripts

    How to code certain css shapes?

    How to resize the width of a div based on another div on it's right, only with CSS(no JS)