[richfaces-issues] [JBoss JIRA] Created: (RF-6659) ExtendedDataTable: grouping does not work or works incorrect in case sortBy is not defined for column.

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Tue Mar 31 07:41:22 EDT 2009


ExtendedDataTable: grouping does not work or works incorrect in case sortBy is not defined for column.
------------------------------------------------------------------------------------------------------

                 Key: RF-6659
                 URL: https://jira.jboss.org/jira/browse/RF-6659
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.1
         Environment: 3.3.1.BETA2
            Reporter: Alexander Dubovsky
            Assignee: Nick Belaevski


Sources:
<rich:extendedDataTable id="table" value="#{exDataTable.value}"
			var="items" width="400px" groupingColumn="make">

			<rich:column id="make" label="Make" width="150px">
				<f:facet name="header">
					<h:outputText value="Make" />
				</f:facet>
				<h:outputText value="#{items.make}" />
			</rich:column>
			<rich:column id="model" label="Model" width="80px"
				sortBy="#{items.model}" selfSorted="true">
				<f:facet name="header">
					<h:outputText value="Model" />
				</f:facet>
				<h:outputText value="#{items.model}" />
			</rich:column>

		</rich:extendedDataTable>

# Open page and check grouping of the first column
Result: table is grouped complete by the first value
# Check "Group by this column" menu item in header menu for this column
Result: it is disabled.

Seems like new attribute for column is necessary, e.g. "groupBy".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list