Problem with addView and HTML-Template

Hi Webix team, in the snipped http://webix.com/snippet/917e458e I create a HTML list with “ul” and “li” and use “html->my_box” in a template. When I click at the button it works and when I click on another button the list don’t change. I use the $$(“myView”).refresh(). Do you have a tip for me? thanks

Template makes a copy of “#my_box”, so when you are changing the original content it will not be reflected in the template.

If you have move an object into the template, use setContent instead.

http://webix.com/snippet/58bf3339

Hi maksim, a lot of thanks it works great. Your support is very good and the Webix framework works very good for me. Nice weekend