Dynamically add value to template view?

Hi, How to add a value dynamically on button click?

below is my code.

rows: [
{
id:“tempId”,
view: “template”,
template: “#title#”
data: PosterDescData
}

I am calling below code on button click.

$$(“tempId”).add({
title:“ABC”
});

error: TypeError: Cannot read property ‘add’ of undefined

I got a solution. We can add value dynamically by using SetValues function.

$$(“tempId”).setValues({
title:“ABC”
});

https://docs.webix.com/api__ui.template_setvalues.html