What is the recommended way to set the data field in the memberActionListView so that the actions array (which is a subarray) iis displayed? So that when the member record is updated the actions list is updated as well?
{ view:“list”, select:true, borderless:true, id:“memberActionListView”,
template:"#dueDate# - #action#,
data: ???member_set.getSelectedId().actions???
}
var member_set = [
{
“memberRecordID”: “280”,
“first”: “David”,
“last”: “Brown”,
“phone”: “801-123-1234”,
“email”: “Brown534@gmail.com”,
“birthday”: “05/05/2009”,
“misc”: “Head Mechanic”,
“actions”: [
{
“action”: “Test flywheel”,
“dueDate”: “08/02/2036”,
“completed”: “false”
},
{
“action”: “Update shocks”,
“dueDate”: “08/02/2036”,
“completed”: “false”
},
{
“action”: “Repair seals”,
“dueDate”: “08/02/2036”,
“completed”: “false”
}
]
}
];