通过layout布局上下两部分。上下显示两个datagrid表格。在写分页的时候,上面的datagrid是可以显示分页的,但是下面的datagrid就不显示分页了,也是和上面的datagrid分页是一样的。后来我把上面datagrid分页注释掉,下面的datagrid分页还是不显示。