Child pages
  • JSInsetList
Skip to end of metadata
Go to start of metadata

Refresh page Mar 17, 2024 21:33

Supported Clients
MobileClient

Property Summary
String headerDataProviderID The text of this data-provider will appear on top of the inset list; if not specified, 'headerText' will be used instead.
String headerStyleClass The styleClass of the list header.
String headerText This text will appear on top of the inset list if 'headerDataProviderID' is not set.
String name The name of this inset list.
String relationName Name of the relation to be used by the inset list.
Number x The x coordinate of the component on the form.
Number y The y coordinate of the component on the form.

Property Details

headerDataProviderID

The text of this data-provider will appear on top of the inset list; if not specified, 'headerText' will be used instead.

Returns

Supported Clients

NGClient,MobileClient

Sample

var insetList = jsform.getInsetList('il1');

var newInsetList = jsform.newInsetList(8,insetList.dataSource,insetList.relationName,insetList.headerText,insetList.textDataProviderID);
newInsetList.name = 'il2';

headerStyleClass

The styleClass of the list header. Can have values from 'a' to 'e'.

Returns

Supported Clients

NGClient,MobileClient

Sample

var newInsetList = jsform.newInsetList(8,insetList.dataSource,insetList.relationName,insetList.headerText,insetList.textDataProviderID);
newInsetList.headerStyleClass = 'e';

headerText

This text will appear on top of the inset list if 'headerDataProviderID' is not set.

Returns

Supported Clients

NGClient,MobileClient

Sample

var insetList = jsform.getInsetList('il1');

var newInsetList = jsform.newInsetList(8,insetList.dataSource,insetList.relationName,insetList.headerText,insetList.textDataProviderID);
newInsetList.name = 'il2';

name

The name of this inset list.

Returns

Supported Clients

NGClient,MobileClient

Sample

var insetList = jsform.getInsetList('il1');

var newInsetList = jsform.newInsetList(8,insetList.dataSource,insetList.relationName,insetList.headerText,insetList.textDataProviderID);
newInsetList.name = 'il2';

relationName

Name of the relation to be used by the inset list.

Returns

Supported Clients

NGClient,MobileClient

Sample

var insetList = jsform.getInsetList('il1');

var newInsetList = jsform.newInsetList(8,insetList.dataSource,insetList.relationName,insetList.headerText,insetList.textDataProviderID);
newInsetList.name = 'il2';

x

The x coordinate of the component on the form.

Returns

Supported Clients

NGClient,MobileClient

Sample

var newInsetList = jsform.newInsetList(8,insetList.dataSource,insetList.relationName,insetList.headerText,insetList.textDataProviderID);
newInsetList.x = 90;
newInsetList.y = 90;
application.output('location of newInsetList: ' + newInsetList.x + ', ' + newInsetList.y);

y

The y coordinate of the component on the form.

Returns

Supported Clients

NGClient,MobileClient

Sample

var newInsetList = jsform.newInsetList(8,insetList.dataSource,insetList.relationName,insetList.headerText,insetList.textDataProviderID);
newInsetList.x = 90;
newInsetList.y = 90;
application.output('location of newInsetList: ' + newInsetList.x + ', ' + newInsetList.y);

  • No labels