ligerui 表格宽度怎么设置
1个回答
2017-06-01
展开全部
ligerUI表格接收的json格式为:{"Rows":[{"id":"value","name":"value",},{对象2}],"Total":count}比如:{"Rows":[{"amount":"123","applicant":"dasd","applyDate":"2012-07-0518:20:24"},{"amount":"1231","applicant":"dasd","applyDate":"2012-07-0417:55:34"}],"Total":2}页面:$('#paymentsGrid').ligerGrid({title:'付款申请列表',columns:[{name:'uuid',display:'主键',hide:1},{name:'applyDate',display:'申请日期',width:80,align:'right'},{name:'applicant',display:'申请人',width:100,align:'left'}],url:'xx.action',usePager:true,checkbox:true,rownumbers:true,headerRowHeight:30,//表头行的高度sortName:'applyDate,sortOrder:'desc',toolbar:{.}});
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询