elizas
Posts: 2
|
Posted: 03/18/2010, 2:47 AM |
|
When we represent some data in a grid view we usually prefer to set alternative row color. For this we can use two css classes with different background colors or inline styles. What we need to do is that while constructing the grid by looping through data set, we can check the loop count is odd or even and then attach an alternative class or inline CSS accordingly.
http://www.mindfiresolutions.com/How-to-set-alternative...-jQuery-193.php
|
|
|
Oper
Posts: 1195
|
Posted: 03/18/2010, 8:51 AM |
|
CCS has a buildin Alternative Row Display (on before showrow)
very Simple.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
|
|
Waspman
Posts: 948
|
Posted: 03/28/2010, 4:35 AM |
|
Oper, what version are you using cos I can't find anything in the before show event.
_________________
http://www.waspmedia.co.uk |
|
|
Oper
Posts: 1195
|
Posted: 03/29/2010, 3:27 PM |
|
Before Show Row (does not need new version)
Ad an Action, you have 2 choice
CLASS and STYLE
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
|
|
|