ParametersPanelStandalone Class
Client-side model for the Standalone Report Parameters Panel component.
Declaration
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:
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
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
getDesignerParts(): DevExpress.Analytics.Internal.IDesignerPart[]
Returns
Type |
---|
IDesignerPart[] |
initialize(originalParametersInfo) Method
Declaration
initialize(
originalParametersInfo: DevExpress.Reporting.Viewer.Parameters.IReportParametersInfo
): void
Parameters
Name | Type |
---|---|
originalParametersInfo | IReportParametersInfo |