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

51465Re: [ydn-javascript] Column background color changes after sorting

Expand Messages
  • Satyam
    Sep 1, 2009
      When the DataTable starts piling up classNames it really gets hard to
      figure out which ones are active and how to override them. You are
      getting at the intersection of one style coming from the row and another
      one spreading from the column to each individual cell. Finding out the
      selector to override that is not trivial. See:

      http://www.satyam.com.ar/yui/widgetstyles.html

      Satyam

      shantek81 escribió:
      > Hi,
      >
      > New to yui. created a table that allows the columns to sort. added custom coloring to the rows and tableheader. the problem i'm having comes when i sort a column, the rows remain the customized color however all the cells in that particular sorted column defaults back to original color (the blueish color as seen in the examples). any suggestions? thanks.
      > i've tried customizing the column color itself using className in the columnDefs. this gives the column the correct background color i want but the same problem occurs when sorting that column.
      >
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
      > ------------------------------------------------------------------------
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - www.avg.com
      > Version: 8.5.409 / Virus Database: 270.13.72/2337 - Release Date: 08/31/09 05:50:00
      >
      >
    • Show all 4 messages in this topic