Back to Devexpress

ParametersPanelStandalone Class

xtrareports-js-devexpress-dot-reporting-dot-viewer-dot-parameters-599f3337.md

latest5.2 KB
Original Source

ParametersPanelStandalone Class

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

Declaration

ts
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

constructor(parametersHolder)

buttons

lastValidationRequest

parameterHelper

parametersLoading

prevParametersStateRequest

processInvisibleParameters

restore

submit

tabInfo

parameters

createViewModel

onPropertyChanged(args)

serializeParameters

setParameterValue(parameterName, value)

updateParameters(changedParameter)

updateViewModel(args)

Inheritance

ParametersPanelModelBase ParametersPanelStandalone

Properties

showButtons Property

Displays buttons from the model collection of buttons.

Declaration

ts
showButtons: boolean

Property Value

TypeDescription
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

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

Returns

Type
IDesignerPart[]

initialize(originalParametersInfo) Method

Declaration

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

Parameters

NameType
originalParametersInfoIReportParametersInfo