[richfaces-issues] [JBoss JIRA] Commented: (RF-8192) dataTables: change default header facet for sorting generation

Mario Mario (JIRA) jira-events at lists.jboss.org
Thu Dec 10 02:34:29 EST 2009


    [ https://jira.jboss.org/jira/browse/RF-8192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12499181#action_12499181 ] 

Mario Mario commented on RF-8192:
---------------------------------

We used a rich:datatable and rich:column to sort the content on the client side. We didn't want a header because how it's sorted (which column, which order) is fixed.
After the last update we had everywhere headers where we didn't want them.

It would be nice to disable the headers no matter what, like a param headerVisible=true or something like tat.

Our little hack to make the headers dissaper is:
.no-table-header .rich-table-thead {
	display: none;
}
<rich:dataTable value="#{bean.list}" var="entry" styleClass="no-table-header">
...
</rich:datatable>

But they get still rendered, which is not necessary.


> dataTables: change default header facet for sorting generation
> --------------------------------------------------------------
>
>                 Key: RF-8192
>                 URL: https://jira.jboss.org/jira/browse/RF-8192
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables, regression
>    Affects Versions: 3.3.2.SR1
>            Reporter: Ilya Shaikovsky
>            Assignee: Alex Kolonitsky
>             Fix For: 3.3.3.CR1
>
>
> https://jira.jboss.org/jira/browse/RF-4731 fix caused the facets generation always no matter if default sorting used or not.
> I think that this should be changed to:
> 1) selfSorted = true 
> 1.1) headers present - icons which reflects current sorting should be there
> 1.2) headers not defined - them should be generated and icons added to it.
> 2) selfSorted=false 
> 2.1) headers present - icons still should be there and reflect current sorting
> 2.2) headers absent - them should not be generated

-- 
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