Hide the parameters panel
Re: Hide the parameters panel
Thank you for your reply. I know the code can be reused, but the control in NETCORE can't set the ID, so I don't know how to modify the ID
Re: Hide the parameters panel
Hello.
We need some additional time to prepare an answer.
Thank you
Ticket reference: #3180
We need some additional time to prepare an answer.
Thank you
Ticket reference: #3180
Re: Hide the parameters panel
Hello,
If you don't set the ID, you could use the next code:
Thank you.
If you don't set the ID, you could use the next code:
Code: Select all
jsNetCoreViewer.onready = function () {
jsNetCoreViewer.showParametersPanel_ = jsNetCoreViewer.showParametersPanel;
jsNetCoreViewer.showParametersPanel = function (data, jsObject) {
if (jsNetCoreViewer.showError(data)) data = null;
jsNetCoreViewer.options.isParametersReceived = true;
jsNetCoreViewer.options.paramsVariables = typeof data == "string" ? JSON.parse(data) : data;
jsNetCoreViewer.InitializeParametersPanel();
jsNetCoreViewer.controls.processImage.hide();
if (jsNetCoreViewer.controls.parametersPanel) {
jsNetCoreViewer.controls.parametersPanel.changeVisibleState(false);
if (jsNetCoreViewer.controls.buttons.Parameters)
jsNetCoreViewer.controls.buttons.Parameters.setSelected(false);
}
if (jsNetCoreViewer.reportParams.type == "Dashboard")
jsNetCoreViewer.postAction("GetPages");
}
}