list.add(new SampleBean(label + " " + rand.nextInt(count),
rand.nextInt(count), cal.getTime()));
cal.add(Calendar.DAY_OF_MONTH, 1);
}
return new GroupsModelArray(list, new FieldComparator("name", true)) {
protected Object createGroupHead(
Object[] groupdata, int index, int col) {
return new Object[] { groupdata[0], new Integer(col) };
}
};