Q:

how to change the alternate rows background color of a GWT cellList

is there a possibility of changing the alternate row color  of a cellList on mouse over 
(just like CellTable)?
Thanks
I am trying this 
      private CellList<EmployerJobs> clJobs ; 
        EmployerJobCell jobCell = new EmployerJobCell();
    clJobs = new CellList<EmployerJobs>(jobCell);

      clJobs.setRowStyles(new RowStyles<EmployerJobs>() {
    public String getStyleNames(EmployerJobs row, int rowIndex) {

                if (rowIndex % 2 == 0) {
                    return "cellListEvenItem";
                } else {
                    return "cellListOddItem ";
                }
            }

    });

but at the above line :    
                       clJobs.setRowStyles(new RowStyles<EmployerJobs>()

it says :
                The method setRowStyles(new RowStyles<EmployerJobs>(){}) is undefined for the type CellList<EmployerJobs>           

A:

You better create your own css file based on gwt's default and copy CellList styles to your newly created css file and change all you need. You also need to exclude gwt default css from your_module.gwt.xml and put there your newly created

