{
id:"mybox",
rows:[
{
view:"toolbar",
type:"MainBar",
elements:[
{ view:"button", label:"返回", id:"backButton",type:"round",width:100,click:"backGrid"},
{view:"label",id:"label", align:'center'}
]
},
{
view:"multiview", id:"multiview",
cells:[ {
view:"dataview",id:"project",
type:{
template:"#prj_task_no#",
height:95,
width:100
},
datatype:"json"
},
{ view:"dataview",id:"order",
.......
}
]
}
I use the text below, they don’t work .
$$(‘mybox’).config.row[“multiview”].cells[“project”].width = wids;
or
$$(‘mybox’).config.row[“project”].width = wids;
How can I set the value of the propertity width of the dataview?
Any help would be appreciated! Please!