how to update cells content of a mutiview

Hi !

I’m starting with dhtmlxTouch and couldn’t find any example showing how to update a cell content with javascript
Ex : a multiview like:
var config={
container:“groupBox”,
rows:[
{
gravity:2,
view:“multiview”,
scroll:true,
cells:[
{
view: ‘scrollview’,
scroll: ‘y’,
content: {
template:“

bla bla
”,
height: 400
},
id: “tabbar_1”
},
{ template:“
som text
”, id:“tabbar_2” }
]
}
]
};

dhx.ready(function(){
dhx.ui(config);

        //document.getElementById("divC2") returns an error

}
[…]

The not visible cells is not a part of document, so they can’t be located by document.getElementById

If you want to reset content of template you can use

$$(‘tabbar_2’).define(“template”, “some new content”);
$$(‘tabbar_2’).render();

Thank you for your answer Stanislav.
It helps to understand

Best regards

Nassim Bennouna