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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Refresh page Apr 28, 2024 00:59

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