当前位置:网站首页>easyUI中datagrid中的formatter里面向后台发送请求获取数据
easyUI中datagrid中的formatter里面向后台发送请求获取数据
2022-08-01 19:13:00 【reg183】
{
field:'typeId',title:'用户角色',width:100,sortable:true,align:'center',formatter:function(value,row,index){
var htmlObj = $.ajax({
url : "../queryRoleById",
type : "post",
async : false,
data : {
id:value}
});
var text = htmlObj.responseText;
var json = JSON.parse(text);
return json.name;
}}
边栏推荐
- Win11怎么安装语音包?Win11语音包安装教程
- [Server data recovery] Data recovery case of offline multiple disks in mdisk group of server Raid5 array
- No need to crack, install Visual Studio 2013 Community Edition on the official website
- Ha ha!A print function, quite good at playing!
- ClassID的计算中,&表示啥意思
- 重保特辑|筑牢第一道防线,云防火墙攻防演练最佳实践
- 随时随地写代码--基于Code-server部署自己的云开发环境
- MySQL数据库————流程控制
- Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读
- 【周赛复盘】LeetCode第304场单周赛
猜你喜欢
Hardware Bear Original Collection (Updated 2022/07)
kubernetes-部署nfs存储类
[pyqt5] Custom controls to achieve scaling sub-controls that maintain the aspect ratio
有点奇怪!访问目的网址,主机能容器却不行
Database Plus 的云上之旅:SphereEx 正式开源 ShardingSphere on Cloud 解决方案
【木棉花】#夏日挑战赛# 鸿蒙小游戏项目——数独Sudoku(3)
odoo 编码规范(编程规范、编码指南)
Screen: GFF, OGS, Oncell, Incell of full lamination process
explain each field introduction
[Neural Network] This article will take you to easily analyze the neural network (with an example of spoofing your girlfriend)
随机推荐
在全志V853开发板试编译QT测试
【综述专栏】IJCAI 2022 | 图结构学习最新综述:研究进展与未来展望
odoo 编码规范(编程规范、编码指南)
基于flowable的upp(统一流程平台)运行性能优化
Website construction process
GZIPOutputStream 类源码分析
How many steps does it take to convert an ENS domain name into music?
Keras deep learning practice - traffic sign recognition
Industry Salon Phase II丨How to enable chemical companies to reduce costs and increase efficiency through supply chain digital business collaboration?
Shell script topic (07): file from cfs to bos
明日盛会|ApacheCon Asia 2022 Pulsar 技术议题一览
重保特辑|筑牢第一道防线,云防火墙攻防演练最佳实践
Choosing the right DevOps tool starts with understanding DevOps
选择合适的 DevOps 工具,从理解 DevOps 开始
LeetCode 1374. Generate an odd number of each character string
无需破解,官网安装Visual Studio 2013社区版
1个小时!从零制作一个! AI图片识别WEB应用!
如何记录分析你的炼丹流程—可视化神器Wandb使用笔记【1】
随时随地写代码--基于Code-server部署自己的云开发环境
log factory (detail)