当前位置:网站首页>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;
}}
边栏推荐
- 在表格数据上,为什么基于树的模型仍然优于深度学习?
- 即时通讯开发移动端弱网络优化方法总结
- Library website construction source code sharing
- PanGu-Coder:函数级的代码生成模型
- vtk体绘制代码报错的解决办法(代码在vtk7,8,9中都能运行),以及VTK数据集网站
- Redis启动时提示Creating Server TCP listening socket *:6379: bind: No error
- app直播源码,点击搜索栏自动弹出下拉框
- 明日盛会|ApacheCon Asia 2022 Pulsar 技术议题一览
- kubernetes-部署nfs存储类
- SQL function TO_DATE (2)
猜你喜欢

MySQL数据库————存储过程和函数

Ha ha!A print function, quite good at playing!

日志工厂(详细)

Source code analysis of GZIPOutputStream class

【pyqt5】自定义控件 实现能够保持长宽比地缩放子控件

Win11如何删除升级包?Win11删除升级包的方法

【木棉花】#夏日挑战赛# 鸿蒙小游戏项目——数独Sudoku(3)

#yyds干货盘点# 面试必刷TOP101: 链表中倒数最后k个结点

Become a Contributor in 30 minutes | How to participate in OpenHarmony's open source contributions in multiple ways?

Fuzzy query in Map pass-by-value and object pass-by-value
随机推荐
DAO development tutorial [WEB3.0]
LeetCode 0152. Product Maximum Subarray: dp + Roll in Place
GBase 8c中怎么查询数据库配置参数,例如datestyle。使用什么函数或者语法呢?
明尼苏达大学团队结合高通量实验与机器学习,实现有效可预测的特定位点重组过程,可调节基因编辑速度
使用常见问题解答软件的好处有哪些?
Map by value
LeetCode 1374. Generate an odd number of each character string
文库网站建设源码分享
Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021: Interpretation
AntDB database appeared in the 24th high-speed exhibition, helping smart high-speed innovative applications
【软考软件评测师】基于规则说明的测试技术下篇
即时通讯开发移动端弱网络优化方法总结
The XML configuration
短视频软件开发,Android开发,使用Kotlin实现WebView
MySQL数据库————流程控制
WinRAR | Generate multiple installers into one installer
【LeetCode】Day109-the longest palindrome string
英国伦敦大学|眼科强化学习:潜在应用和实施挑战
TestNG多个xml进行自动化测试
LeetCode 1374.生成每种字符都是奇数个的字符串