Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    reference to DynamicForm created by Fetchdata

    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 })")]
    });

    #2
    Looks like you need a JavaScript tutorial first. There is nothing here specific to SC.

    Comment

    Working...
    X