Overview
This class is the representation of a mobile list component/form.
Property Summary
Properties Details
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';
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';
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);