I have embedded the below scrollview inside of a layout:
{
id:"diagGroupScrollView",
view:"scrollview",
height:(window.screen.availHeight/3),
scroll:"x",
body:{ id:"scrollViewBodyID",
cols:[
{view:"list",select:true,multiselect:true,width:100,data:[{value:"Item 1"},{value:"Item 2"}]},
{view:"list",select:true,multiselect:true,width:100,data:[{value:"Item 1"},{value:"Item 2"}]}
]
}
}//end scroll view
how do I dynamically replace columns? I see there is a define() method but there is no way to refresh the changes.