Jquery ui jQueryUIJConfirm对话框未显示在jqgrid的gridComplete上
我正在Jquery ui jQueryUIJConfirm对话框未显示在jqgrid的gridComplete上,jquery-ui,jqgrid-asp.net,Jquery Ui,Jqgrid Asp.net,我正在jqgrid中使用jConfirm对话框进行确认。我想要的是当gridComplete触发时,它应该弹出一个带有Ok和cancel按钮的jConfirm对话框,当我点击Ok时,它应该setelement在jqgrid中的行。我的代码如下: // My ajax call in gridComplete function in jqgrid function listSelectedUsers(data) { $.ajax({ cache: false,
jqgrid
中使用jConfirm
对话框进行确认。我想要的是当gridComplete
触发时,它应该弹出一个带有Ok和cancel按钮的jConfirm
对话框,当我点击Ok时,它应该setelement
在jqgrid
中的行。我的代码如下:
// My ajax call in gridComplete function in jqgrid
function listSelectedUsers(data) {
$.ajax({
cache: false,
async: true,
type: "POST",
url: urlPath,
data: { countryID: countryID},
dataType: "json",
success: function(data){
jConfirm(data, 'JqGrid Popup', function(confirmation) {
if (confirmation) {
}
});
},
error: function(data) {
}
});
}
//jqgrid code
// on gridComplete function call, does not show up jConfirm dialog popup.
gridComplete: function() {
listSelectedUsers(data);
},
请尽快给我建议解决方案。
提前谢谢