--limit;
avail.add(row);
}
}
if (row instanceof Group) {
final Group g = (Group) row;
if (!g.isOpen()) {
for (int j = 0, len = g.getItemCount(); j < len && row != null; j++)
row = (Row) row.getNextSibling();
}
}
if (row != null)
row = (Row) row.getNextSibling();