Is there a way to add CellList members to Flow panel one by one instead of adding CellList itself to the panel?
for example.
private static final CellList<MyNodeInfo> myNodeCellList =
new CellList<MyNodeInfo>(MyNodeInfoCell.getInstance());
static List<MyNodeInfo> myNodeList = new ArrayList<MyNodeInfo>();
private static final FlowPanel flowPanel = new FlowPanel();
...
myNodeCellList.setRowData(myNodeList);
...
// <<<<<<<<<
flowPanel.add(myNodeCellList);
// >>>>>>>>>
for (int i=0; i< myNodeCellList.size(); i++) {
// want to add indivisual member of myNodeCellList
flowPanel.add(...);
}
// **<- want to change like this!!**
An add() method of FlowPanel get Widget as an input parameter.
An CellList memeber can be an Element(with getElement()), but can't be a Widget.
Can each CellList member be a widget?