当前位置:网站首页>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;
}}
边栏推荐
- The life cycle and scope
- PanGu-Coder:函数级的代码生成模型
- 不要再使用MySQL online DDL了
- 通配符 SSL/TLS 证书
- Win11校园网无法连接怎么办?Win11连接不到校园网的解决方法
- 用VS2013编译带boost库程序时提示 fatal error C1001: 编译器中发生内部错误
- Goldfish Brother RHCA Memoirs: CL210 manages OPENSTACK network -- network configuration options
- log factory (detail)
- #yyds dry goods inventory# Interview must brush TOP101: the last k nodes in the linked list
- ThreadLocal讲义
猜你喜欢
30分钟成为Contributor|如何多方位参与OpenHarmony开源贡献?
odoo coding conventions (programming conventions, coding guidelines)
LeetCode 0152. Product Maximum Subarray: dp + Roll in Place
生命周期和作用域
ThreadLocal讲义
Flowable-based upp (unified process platform) running performance optimization
【综述专栏】IJCAI 2022 | 图结构学习最新综述:研究进展与未来展望
From ordinary advanced to excellent test/development programmer, all the way through
kubernetes - deploy nfs storage class
首篇 NLP 领域图神经网络综述:127 页,从图构建到实际应用面面观
随机推荐
[National Programming] "Software Programming - Lecture Video" [Zero Basic Introduction to Practical Application]
【周赛复盘】LeetCode第304场单周赛
cf:D. Magical Array【数学直觉 + 前缀和的和】
安徽建筑大学&杭州电子科技大学|基于机器学习方法的建筑可再生能源优化控制
SaaS管理系统的应用优势在哪里?如何高效提升食品制造业数智化发展水平?
即时通讯开发移动端弱网络优化方法总结
Fuzzy query in Map pass-by-value and object pass-by-value
The solution to the vtk volume rendering code error (the code can run in vtk7, 8, 9), and the VTK dataset website
Tencent Cloud Hosting Security x Lightweight Application Server | Powerful Joint Hosting Security Pratt & Whitney Version Released
Redis的内存淘汰策略和过期删除策略的区别是什么
What should I do if the Win11 campus network cannot be connected?Win11 can't connect to campus network solution
面试必问的HashCode技术内幕
Win11如何开启剪贴板自动复制?Win11开启剪贴板自动复制的方法
Map传值
Keras深度学习实战——交通标志识别
Heavy cover special | intercept 99% malicious traffic, reveal WAF offensive and defensive drills best practices
2022年 PHP面试问题记录
从普通进阶成优秀的测试/开发程序员,一路过关斩将
明尼苏达大学团队结合高通量实验与机器学习,实现有效可预测的特定位点重组过程,可调节基因编辑速度
BN BatchNorm + BatchNorm的替代新方法KNConvNets