//name: datagrid的IDget
function setPager(name) {
var p = $('#' + name).datagrid('getPager');
$(p).pagination({
beforePageText: '第',
afterPageText: '頁 共 {pages} 頁',
displayMsg: '當前顯示 {from} - {to} 條記錄 共{total} 條記錄'
});
}io