@Bind(id="myDataGrid",attribute="mergedColumns")
private String[] mergedColumns = new String[] {"test1"};
这是个初始化状态
@DataModel
private GridArray[] myDataGrid = new GridArray[] {
new GridArray("1", "1", "1"),
new GridArray("2", "1", "2"),
new GridArray("2", "3", "3"),
new GridArray("2", "5", "4"),
new GridArray("2", "5", "5")
};
@DataModel
private GridArray[] myDataGrid = new GridArray[] {
从数据库中取数,是用for循环吗?
};
添加回答
举报
0/150
提交
取消