dynamic loading in UI

i m loading
this.accList = new dhx.ui.list({


});
into dhx.ui({
type:“space”,
id:“layout_id”,
cols:[{}]
});
using dhx.ui(accList,$$(“layout_id”),0);…
this loads the ui with the list but…with an extra column. If i give it as cols:[] it doesn’t work.Please help.

You may place a view instead of the existent layout cell:

[code]dhx.ui({
type:“space”,
id:“layout_id”,
cols:[{
id:“init_cell”
}]
});

dhx.ui(accList,$$(“layout_id”),“init_cell”);[/code]