I’ve created a jquery ui dialog box to indicate success for my custom operations:
var successDialog = $(“#success_dialog”).dialog({
autoOpen : false,
modal : true,
position: {
my: “top middle”,
at: “top middle”
},
open: function(event, ui){
setTimeout(“$(‘#success_dialog’).dialog(‘close’)”,1400);
}
});
But it doesn’t look anything like the default ‘Info’ dialog box which comes up whenever a standard row operation completes successfully.
How can I access the style of the default dialog box, so that all dialog boxes look the same?
The default dialog boxes disappear too quickly for me to examine.
THanks.
To create a standard grid style dialog, you can call this function:
jQuery.jgrid.info_dialog(…)
You can review the code from lib/inc/jqgrid_dist.php and search “jQuery.jgrid.info_dialog”
Let me know for further help.