Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ParametersPanelStandalone Class

Client-side model for the Standalone Report Parameters Panel component.

#Declaration

TypeScript
export class ParametersPanelStandalone extends ParametersPanelModelBase

#Remarks

You can get the ParametersPanelStandalone object using the GetParametersModel method in the Standalone Report Parameters Panel client-side event handler:

javascript
function BeforeRender(sender, e) {
    const panel = sender.GetParametersModel();
    panel.showHeader = true;
     panel.buttons.push({
         text: 'Click Me'
     });
    panel.showButtons = true;
}

#Inheritance

ParametersPanelModelBase
ParametersPanelStandalone

#Properties

#showButtons Property

Displays buttons from the model collection of buttons.

#Declaration

TypeScript
showButtons: boolean

#Property Value

Type Description
boolean

True to show buttons; otherwise, false.

#Remarks

The buttons collection initially contains only the Reset button. The initial text is “Reset”, the localization string is ParametersPanel_Reset.

#Methods

#getDesignerParts Method

#Declaration

TypeScript
getDesignerParts(): DevExpress.Analytics.Internal.IDesignerPart[]

#Returns

Type
IDesignerPart[]

#initialize(originalParametersInfo) Method

#Declaration

TypeScript
initialize(
    originalParametersInfo: DevExpress.Reporting.Viewer.Parameters.IReportParametersInfo
): void

#Parameters

Name Type
originalParametersInfo IReportParametersInfo