PDA

View Full Version : HOWTO color Grid's line with two different colors by odd and even?



andredecotia
14 Sep 2010, 5:12 AM
HOWTO color Grid's line with two different colors by odd and even? If you could send me any logic programming in JavaScript - EXTjs will be so perfect...

Condor
14 Sep 2010, 6:00 AM
This has nothing to do with javascript.

Configure your grid with stripeRows:true and write a css rule that changes the cell line colors based on the x-grid3-row-alt class that is added to every odd row.

andredecotia
14 Sep 2010, 6:46 AM
thanks so much... that works perfectly! you are the man!