PDA

View Full Version : What's the best way to do Alternating Line styles in a Ext.List?



jeffbvox
3 Feb 2011, 11:31 AM
Has anyone had any luck with alternating line styles in a list component? If so, what's the best way to do it?

Thanks,

Jeff B.

mitchellsimoens
3 Feb 2011, 4:47 PM
CSS3 has selectors for this.

http://www.w3.org/TR/css3-selectors/#nth-child-pseudo