3 Replies Latest reply on Aug 26, 2009 3:43 PM by Markus Bauer

    rich:dataGrid - how to change styleClass of empty cells

    Markus Bauer Newbie

      Hi all,

      if have a problem with the rich:dataGrid.

      Lets say, we have a list of 10 elements and the grid shows 3 cells in a row. Because of the content has different heights, i use a css class to draw a border with the same height for all rendered td's.

      the problem now is, that it (of course) also draws this border for the last 2 td's that are rendered automatically although the list provides no content for them.

      How can i set for the last two td's (or basically: that td's that do not contain content provided by the iterated list) a different styleclass (that will not draw the border) ?

      Br, Markus