@RequestMapping(value = "server")
@ResponseBody
public Object bb() {
Grid<A> grid = new Grid<A>();
A a = new A();
a.setId("222");
a.setAmount("aaaa");
a.setInvdate("iiii");
a.setName("name");
a.setNote("note");
a.setTax("tax");
a.setTotal("total");
List<A> list = new ArrayList<A>();
list.add(a);
for (int i = 0; i < 30; i++) {
list.add(a.clone());
}
grid.setId("2");
grid.setRows(list);
grid.setPage("1");