2 Replies Latest reply on Jun 4, 2008 5:36 AM by Alex Guru

    <rich:dataTable question

    Alex Guru Newbie

      Is there way to set background color for certain rows. For example i want set red background for rows where field 'errror' is not null.
      How it can be done?
      I try do so:

      <rich:dataTable value="#{myBean.rows}" var="row"
      rowClasses="#{ row.error == null? 'errorClass' : ' ' }" >

      But it didn't work.