]
Nick Belaevski updated RF-8229:
-------------------------------
Component/s: component-tables
Fix Version/s: Future
Assignee: Nick Belaevski
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)
Components: component-tables
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: Future
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: