JSInsetList

Property Summary

TypeNameSummary

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

The styleClass of the list header..

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

The name of this inset list..

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

The x coordinate of the component on the form..

The y coordinate of the component on the form..

Properties 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 String

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 String

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 String

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 String

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 String

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 Number

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 Number

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);

Last updated