EdgeToEdgeList
An EdgeToEdgeList widget is an edge-to-edge layout list that displays a group of items in equally sized rows.
Derived base
dojox.mobile.EdgeToEdgeList
Properties
id
A unique ID string for the widget.
select
null
No item in the list can be selected.
single
Only one item in the list can be selected.
multiple
Multiple items in the list can be selected.
editable
false
This is the default value. The list items are not editable.
true
The list items are editable.
dataName
The name of a data element to which the widget is bound. If no data to be sent to the server, leave this property blank.
listValue
The name of the iColl that is defined to load data for the list items.
labelField
The field name in iColl for the item label on the left side.
rightTextField
The field name in iColl for the item label on the right side.
postDataScope
all
This is the default value. All data in the flow is submitted.
current
The data in the current view is submitted.
none
No data is submitted.
valueField
The field name in iColl for submitting a value.
ECA editor support
Events that can be added to the EdgeToEdgeList widget with the ECA editor
onCheckStateChanged
This event is called when the value of the Checked property is changed.
onDeleteItem
This event is called when you tap the delete button to remove an item from the list.
Property that can be configured for the EdgeToEdgeList widget with the ECA editor
id
A unique ID string for the widget.
Applicable ECA part: Expression in Condition
Functions that can be configured for the EdgeToEdgeList widget with the ECA editor
set(name,value)
Set a value for a widget property.
Applicable ECA part: Actions
isItemSelected(index)
Return true if an item in the list is selected or false if no item in the list is selected.
Applicable ECA part: Condition, Expression in Condition
startEdit()
Turn on the editable mode.
Applicable ECA part: Actions
endEdit()
Turn off the editable mode.
Applicable ECA part: Actions
selectItem(index)
Select an item of the list.
Applicable ECA part: Actions
get(name)
Returns the value of a widget property.
Applicable ECA part: Expression in Condition
getSelectedItemValue(key)
Return the value of the selected item.
Applicable ECA part: Expression in Condition
Items
An EdgeToEdgeList widget can contain the following widgets as the list items:
▪ ListItem
▪ ListItemTemplate
▪ CustomizeListItem
If you add a ListItemTemplate widget to a list widget, you can not add the other ListItem, CustomizeListItem, or ListItemTemplate widgets to the list.
See also