[
https://issues.jboss.org/browse/RF-13230?page=com.atlassian.jira.plugin.s...
]
Immo Benjes commented on RF-13230:
----------------------------------
We store the table state in the database, so each time the user navigates to the page they
get the table in the same state they left it in. If they e.g. moved Column B to the first
position and set the ordering of e.g. Column B to descending then that is stored in the
database and next time they come back Column B is still in the first position. However
the ordering of the first page (you need a table with multiple pages and the datascroller)
is the default (it should be descending). When you navigate to the second page of the
table the ordering is suddenly correct, when you navigate back to the first page is is
suddenly in descending order as well.
Didn't I add some test code on the forum for this issue?
https://community.jboss.org/thread/232647
Resetting table state on extendedDataTable does not reset table when
using ajax re-render
-----------------------------------------------------------------------------------------
Key: RF-13230
URL:
https://issues.jboss.org/browse/RF-13230
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 4.3.4
Reporter: Immo Benjes
Assignee: Matej Novotny
Labels: regression
Fix For: 4.3.5
On a extendedDataTable resetting the table state and then re-rendering the table via ajax
does not work, the table still shows the custom column ordering and column width. Only
when reloading the complete page, the table is displayed in its default form.
To reproduce:
rich:extendedDataTable with tableState help in a (e.g. Seam conversation scoped bean).
Change the column ordering, now call an ajax method that resets the table state to null or
an empty string. Re-render the table after completion. The column ordering stays the
same.
This used to work on RF 4.3.3
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira