xtrareports-js-devexpress-dot-reporting-dot-viewer-dot-parameters-599f3337.md
Client-side model for the Standalone Report Parameters Panel component.
export class ParametersPanelStandalone extends ParametersPanelModelBase
You can get the ParametersPanelStandalone object using the GetParametersModel method in the Standalone Report Parameters Panel client-side event handler:
function BeforeRender(sender, e) {
const panel = sender.GetParametersModel();
panel.showHeader = true;
panel.buttons.push({
text: 'Click Me'
});
panel.showButtons = true;
}
setParameterValue(parameterName, value)
updateParameters(changedParameter)
ParametersPanelModelBase ParametersPanelStandalone
Displays buttons from the model collection of buttons.
showButtons: boolean
| Type | Description |
|---|---|
| boolean |
True to show buttons; otherwise, false.
|
The buttons collection initially contains only the Reset button. The initial text is “Reset”, the localization string is ParametersPanel_Reset.
getDesignerParts(): DevExpress.Analytics.Internal.IDesignerPart[]
| Type |
|---|
| IDesignerPart[] |
initialize(
originalParametersInfo: DevExpress.Reporting.Viewer.Parameters.IReportParametersInfo
): void
| Name | Type |
|---|---|
| originalParametersInfo | IReportParametersInfo |