[richfaces-issues] [JBoss JIRA] Created: (RF-8272) when in multi sort mode, provide an option to render numbers in each sorted column that indicates the current sort precedence of the columns
Ian Springer (JIRA)
jira-events at lists.jboss.org
Mon Jan 18 15:51:47 EST 2010
when in multi sort mode, provide an option to render numbers in each sorted column that indicates the current sort precedence of the columns
--------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-8272
URL: https://jira.jboss.org/jira/browse/RF-8272
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 3.3.2.SR1
Reporter: Ian Springer
For example, if a table is currently multi-sorted by three columns - Name, Description, and Price, there is no quick way to know for each of these three columns, whether it is the primary, secondary, or tertiary sort column. A tiny "1", "2", and "3" next to the up or down arrow icon would clear this up nicely.
For the RHQ project, we currently have a custom sorting facet which supports this feature. The facet is applied to a column as follows:
<rich:column>
<f:facet name="header">
<onc:sortableColumnHeader sort="res.resourceType.name">
<h:outputText styleClass="headerText" value="Type"/>
</onc:sortableColumnHeader>
</f:facet>
<h:outputText value="#{resourceComposite.resource.resourceType.name}"/>
</rich:column>
I've attached a screenshot that shows how the column headers are rendered with the little numbers.
I am creating this issue, because we would prefer using a built-in RichFaces feature, rather than a custom facet.
--
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