Hello,
Is there a way to get a reference to the DynamicForm created via the FetchData call? I stuffed the entire call into the members array of VLayout. The fields display, but they are not in the the container. Thoughts?
isc.DataSource.create({
ID:"myfields",
dataFormat:"json",
dataURL:"fields.json",
fields:[
{title:"Name", name:"name"},
{title:"Type", name:"type"},
{title:"Value", name:"value"}
]
});
//isc.DataSource.get("myfields").fetchData(null, "isc.DynamicForm.create({ items:data })")
isc.VLayout.create({
width:"10%",
height:"10%",
membersMargin:10,
members:[isc.DataSource.get("myfields").fetchData(null, "isc.DynamicForm.create({ items:data })")]
});
Is there a way to get a reference to the DynamicForm created via the FetchData call? I stuffed the entire call into the members array of VLayout. The fields display, but they are not in the the container. Thoughts?
isc.DataSource.create({
ID:"myfields",
dataFormat:"json",
dataURL:"fields.json",
fields:[
{title:"Name", name:"name"},
{title:"Type", name:"type"},
{title:"Value", name:"value"}
]
});
//isc.DataSource.get("myfields").fetchData(null, "isc.DynamicForm.create({ items:data })")
isc.VLayout.create({
width:"10%",
height:"10%",
membersMargin:10,
members:[isc.DataSource.get("myfields").fetchData(null, "isc.DynamicForm.create({ items:data })")]
});
Comment