[
http://jira.jboss.com/jira/browse/RF-3452?page=all ]
Maksim Kaszynski resolved RF-3452.
----------------------------------
Resolution: Rejected
sortable attribute has nothing to do with dataTable.
DataTable looks for selfSorted, sortBy and comparator attributes when determining if the
column is sortable.
It works only for scrollableDataTable.
column, columns: "sortable" attribute always set in true.
---------------------------------------------------------
Key: RF-3452
URL:
http://jira.jboss.com/jira/browse/RF-3452
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE,FF,Opera,Safari(3.2.1.CR5)
Reporter: Mikhail Vitenkov
Assigned To: Maksim Kaszynski
Priority: Critical
Fix For: 3.2.1
Step 1. Set sortable attribute for column(or dynamic columns) inside rich:dataTable to
"false", like this:
<rich:column sortBy="#{data.str0}"
sortOrder="#{sortingAndFiltering.sortOrder}"
filterMethod="#{sortingAndFiltering.filterMethod}"
sortable="false">
<f:facet name="header">
<h:outputText value="#3" />
</f:facet>
<h:outputText value="#{data.str0}"></h:outputText>
<f:facet name="footer">
<h:outputText value="#3" />
</f:facet>
</rich:column>
Step 2. Navigate to page, contained dataTable component.
Step 3. Verify sorting feature for tested column(or columns) by click on
column's(columns') header.
Actual behavior:
Sorting process is initiated, therefore sortable="false" doesn't work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira