5 Replies Latest reply on Oct 10, 2012 7:32 AM by Kaue Grecchi

    Empty column in ExtendedDataTable

    giant2 Newbie

      Hi!

      I'm using an extendeddataTable with only one column, but I see a second empty column, why?!??!???

      The strange thing is that when data visualized is only one (one row) thie empty column doesn't appear. On more than one row this column appears.

      I'm becaming crazy trying to find the problem.

      The rich:column width is 100%, but this empty column appears. WHY?????

       

      <rich:extendedDataTable selectedClass="selected-row" headerClass="header-tab"
      noDataLabel="No data present"
      value="#{datas}" var="data"  rows="0"
      rowClasses="odd-row, even-row" activeClass="active-row" height="#{(datas.size()+1.3)*2}em"
      onRowMouseOver="jQuery(this).addClass('active-row')"
      onRowMouseOut="jQuery(this).removeClass('active-row')"
      selectionMode="single"
      selection="#{vv.dataSelected}"
      >
      <a4j:support event="onselectionchange" action="#{vv.getSelected()}"></a4j:support>
      <rich:column width="100%">
      <f:facet name="header"><h:outputText value="Select data" /></f:facet>
      <h:outputText value="#{data.label}" />
      </rich:column>
      </rich:extendedDataTable>