我尝试了使用Column options里footerFormatter这个属性,然而
columns: [{
field: 'classNo',
title: '编号'
}, {
field: 'phoneNo',
title: '电话'
}, {
field: 'createTime',
title: '时间'
},{
footerFormatter:
fuction(data){
cosole.log(data);
return 'xxx';
}
}]
得到的是一列 “-” 的数据,那么问题来了。。。。
1.能否解释一下footerFormatter是干嘛用的怎么使用;
2.怎么实现表格统计功能,需要合计一列数据的和;
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
小伙看你根骨奇佳,潜力无限,来学PHP伐。