Skip to end of metadata
Go to start of metadata

Refresh page Jan 30, 2020 09:48

Supported Clients
NGClient

Methods Summary
Object component() Get the component form popup will be shown relative to.
void component(component) Set component form popup will be shown relative to.
String dataprovider() Get the popup form dataprovider (which was set using setter).
void dataprovider(dataprovider) Set form popup dataprovider that will be set.
Number height() Get the popup form height (which was set using setter).
void height(height) Set form popup height.
Object scope() Get the popup form scope (which was set using setter).
void scope(scope) Set form popup scope that will be modified.
void show() Show form popup using parameters that were set
Boolean showBackdrop() Get the popup form show backdrop (which was set using setter).
void showBackdrop(showBackdrop) Set whether backdrop will be shown.
Number width() Get the popup form width (which was set using setter).
void width(width) Set form popup width.
Number x() Get the popup form x location (which was set using setter).
void x(x) Set form popup x location.
Number y() Get the popup form y location (which was set using setter).
void y(y) Set form popup y location.

Methods Details

component()

Get the component form popup will be shown relative to.

Returns

Supported Clients

NGClient

Sample

popupform.component();

component(component)

Set component form popup will be shown relative to. If null, will use coordinates or show at screen center.

Parameters

Object component the form to show

Supported Clients

NGClient

Sample

plugins.window.createFormPopup(forms.orderPicker).component(elements.myelement).show();

dataprovider()

Get the popup form dataprovider (which was set using setter).

Returns

Supported Clients

NGClient

Sample

popupform.dataprovider();

dataprovider(dataprovider)

Set form popup dataprovider that will be set. If this is set, also scope needs to be specified.

Parameters

String dataprovider form popup dataprovider

Supported Clients

NGClient

Sample

plugins.window.createFormPopup(forms.orderPicker).dataprovider('myid').scope(foundset.getSelectedRecord()).show();

height()

Get the popup form height (which was set using setter).

Returns

Supported Clients

NGClient

Sample

popupform.height();

height(height)

Set form popup height. If not set, form design height will be used.

Parameters

Number height form popup height

Supported Clients

NGClient

Sample

plugins.window.createFormPopup(forms.orderPicker).height(100).show();

scope()

Get the popup form scope (which was set using setter).

Returns

Supported Clients

NGClient

Sample

popupform.scope();

scope(scope)

Set form popup scope that will be modified. If this is set, also dataprovider needs to be specified.

Parameters

Object scope form popup scope to modify

Supported Clients

NGClient

Sample

plugins.window.createFormPopup(forms.orderPicker).dataprovider('myid').scope(foundset.getSelectedRecord()).show();

show()

Show form popup using parameters that were set

Supported Clients

NGClient

Sample

plugins.window.createFormPopup(forms.orderPicker).x(100).y(100).width(100).height(100).showBackdrop(true).show();

showBackdrop()

Get the popup form show backdrop (which was set using setter).

Returns

Supported Clients

NGClient

Sample

popupform.showBackdrop();

showBackdrop(showBackdrop)

Set whether backdrop will be shown. Default value is false.

Parameters

Boolean showBackdrop form popup showBackdrop

Supported Clients

NGClient

Sample

plugins.window.createFormPopup(forms.orderPicker).showBackdrop(true).show();

width()

Get the popup form width (which was set using setter).

Returns

Supported Clients

NGClient

Sample

popupform.width();

width(width)

Set form popup width. If not set, form design width will be used.

Parameters

Number width form popup width

Supported Clients

NGClient

Sample

plugins.window.createFormPopup(forms.orderPicker).width(100).show();

x()

Get the popup form x location (which was set using setter).

Returns

Supported Clients

NGClient

Sample

popupform.x();

x(x)

Set form popup x location. The priority sequence for location is: related element, set location, center of screen.

Parameters

Number x form popup x location

Supported Clients

NGClient

Sample

plugins.window.createFormPopup(forms.orderPicker).x(100).show();

y()

Get the popup form y location (which was set using setter).

Returns

Supported Clients

NGClient

Sample

popupform.y();

y(y)

Set form popup y location. The priority sequence for location is: related element, set location, center of screen.

Parameters

Number y form popup y location

Supported Clients

NGClient

Sample

plugins.window.createFormPopup(forms.orderPicker).y(100).show();

  • No labels