This content has been marked as final.
Show 1 reply
-
1. Re: Creating Table on the fly.
maurice_how Sep 21, 2008 2:15 PM (in response to maurice_how)dropTargetPanel = accountPanels.get(i);
dropTargetPanel.setId("accPanel" + strAccountID);
dropTargetPanel.setHeader("ACCOUNT " + i);
dataTable = new HtmlDataTable();
column = new HtmlColumn();
oText = new HtmlOutputText();
oText.setValue("Testing 123");
column.getChildren().add(oText);
dataTable.getChildren().add(column);
dropTargetPanel.getChildren().add(dataTable); //Wont render table
dropTargetPanel.getChildren().add(oText);//Able to render otext.
May i know why ? thanks