listitem.setValue(obj);
for (int i = 0; i < model.getColumns().length; i++) {
Object cellObj = model.getCheckedValue(obj, i);
if (cellObj instanceof View) {
Listcell cell = new Listcell();
cell.appendChild(((View) cellObj).getComponent());
listitem.appendChild(cell);
} else if (cellObj instanceof Component) {
Listcell cell = new Listcell();
cell.appendChild((Component) cellObj);
listitem.appendChild(cell);