ParametersPanelStandalone Class
In This Article
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;
}
#Inherited Members
#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 |
---|
IDesigner |
#initialize(originalParametersInfo) Method
#Declaration
TypeScript
initialize(
originalParametersInfo: DevExpress.Reporting.Viewer.Parameters.IReportParametersInfo
): void
#Parameters
Name | Type |
---|---|
original |
IReport |