扫码关注官方订阅号
认证0级讲师
这个很简单的,你可以在列中设置formatter但是传入的是个方法。比如{name:"email",formatter:checkEmail}
然后自定义个方法名字叫做checkEmail
function checkEmail(x,y,z){// 然后处理结果以后直接返回就行了
return 'xxxxxxxxxxx'+x+'yyyyy';}
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
这个很简单的,你可以在列中设置formatter但是传入的是个方法。
比如{name:"email",formatter:checkEmail}
然后自定义个方法名字叫做checkEmail
function checkEmail(x,y,z){
// 然后处理结果以后直接返回就行了
return 'xxxxxxxxxxx'+x+'yyyyy';
}