Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] i want change cell color...

Expand Messages
  • Satyam
    If you want to change the color of the whole cell, notice that each column has an className assigned to it based on the yui-dt-col- prefix followed by the
    Message 1 of 3 , Sep 2, 2008
    • 0 Attachment
      If you want to change the color of the whole cell, notice that each
      column has an className assigned to it based on the "yui-dt-col-" prefix
      followed by the column key, in your case, "yui-dt-col-abc4". Simply
      define a CSS style for that selector and it will happen. The row above
      has styles yui-dt-odd and yui-dt-even so that with the appropriate
      selectors you can change the color of a column and still provide two
      different shadings for alternate rows.

      Satyam


      magefister wrote:
      > i want change cell color...
      > for example..
      >
      > there are 4 cells.
      >
      > {key:"abc"},
      > {key:"abc2"},
      > {key:"abc3"},
      > {key:"abc4"}
      >
      > and i want chage color of "abc4" cell..
      >
      > how can i do for it??
      >
      >
      >
      >
      >
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
      > ------------------------------------------------------------------------
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - http://www.avg.com
      > Version: 8.0.169 / Virus Database: 270.6.14/1645 - Release Date: 01/09/2008 7:19
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.