[richfaces-issues] [JBoss JIRA] Created: (RF-8229) ExtendedDataTable: programmatic changes in table state are not reflected visually

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Dec 22 19:00:30 EST 2009


ExtendedDataTable: programmatic changes in table state are not reflected visually 
----------------------------------------------------------------------------------

                 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. 

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