[
https://jira.jboss.org/jira/browse/RF-8229?page=com.atlassian.jira.plugin...
]
Nick Belaevski updated RF-8229:
-------------------------------
Summary: ExtendedDataTable: programmatic changes in table state are not applied to the
table (was: ExtendedDataTable: programmatic changes in table state are not reflected
visually )
ExtendedDataTable: programmatic changes in table state are not
applied to the table
------------------------------------------------------------------------------------
Key: RF-8229
URL:
https://jira.jboss.org/jira/browse/RF-8229
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Nick Belaevski
Use case description: add new column to the rich:extendedDataTable and make it the first
one.
Tried this:
public void addColumn() throws Exception {
UIExtendedDataTable table =(UIExtendedDataTable) component;
HtmlColumn column = new HtmlColumn();
column.setId("dynamicColumn");
column.getChildren().add(new HtmlOutputText());
table.getChildren().add(0, column);
}
but columns is always added the second, because rich:extendedDataTable maintains list of
columns and sorting it accordingly. New column is just missing there after addition. Tried
to bind "tableState" to the bean, but it's not read back from bean.
--
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