ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: pbassey on February 12, 2025, 07:33:46 pm
-
I am using the grid.showLoading control to display a message to the user while a post process is running. Is there any way to increase the size of the box? The text does not seem to be limited, but the size of the box displaying that text does...
function callApiMethod() {
grid.option("strLoading", "This may take up to 30 seconds. Please Stand by...");
grid.showLoading();
$.post("/IND/Account/LoadINDData", { "theYear": theYear }, function (data) {
var f = JSON.parse(data)
grid.hideLoading();
grid.refreshDataAndView();
});
}
-
Please use this css:
div.pq-loading-mask{
height:auto; width: auto;
margin:0;
transform: translate(-50%,-50%);
}
It's been added to the upcoming version.
-
Perfect, thank you!