0

grid odd column different color

asked 2011-03-01 05:31:14 +0800

shivam gravatar image shivam
66

Hi, I have a grid and I want to change the background color of every odd column. Can anyone pls suggest a way to do that using css

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2011-03-01 10:04:33 +0800

niting gravatar image niting
111

updated 2011-03-01 10:04:55 +0800

Hi Shivam,

Have you tried using
Grid.setOddRowSclass("cssClassName") ?

Thanks
Nitin

link publish delete flag offensive edit

answered 2011-03-01 16:54:10 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Look here.

link publish delete flag offensive edit

answered 2011-03-01 23:37:40 +0800

shivam gravatar image shivam
66

hi, thank you for your prompt reply....... I am new to zk and frankly to the world of programming so I might have not understood what u r trying 2 say...... oddRowSclass helps me to color odd rows differently but I actually want to color the odd columns differently

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-03-01 05:31:14 +0800

Seen: 393 times

Last updated: Mar 01 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More