miniUI方法:
function DrugDataGridInt () {
var columns = [
{ type: "indexcolumn" },
{ field: 'time', header: '时间', width: 200, align: 'left', visible: true ,dateFormat:'yyyy-MM'},
{ field: 'money', header: '金额', width: 200, headerAlign: 'left',autoescape:true ,visible: true},
{ field: 'remark', header: '名称', width: 250, headerAlign: 'left', autoescape: true,visible: true }
];
var grid = mini.get("YourGridId");
grid.set({
url: basePath + '/mqpms/business_report/base_info/updateUI/ajaxListForContract.do?projectId=' + $('#projectId').val() + '&sessionId=' + _jsSessionId,
sizeList: [50,100],
pageSize: 50,
columns: columns,
allowAlternating: true, //显示间行色