0 Replies Latest reply on Aug 10, 2011 8:54 AM by rogergl

    How to change background color of selected table row ?

    rogergl

      Hi,

       

      I'm using multiple rowStyle classes like this:

       

      <rich:extendedDataTable

      ......

      rowClasses="light-table-row,dark-table-row" 

       

      So far I had no success to change the background color of a selected row.

       

      I tried:

       

      .rf-edt-r-act {

          background-color: #CCCCCC;

      }

       

      .rf-edt-r-self {

          background-color: #CCCCCC;

      }          

       

      But the style from the rowClasses setting always wins (checked with Firebug).

       

      Any idea how to change the background color of a selected row ?

       

      Regards

        Roger