in the example im trying to change the “head” parameter from “Adressen” to “Adressen 2” but instead of that i get the old “head” and the new “head” together see screenshot.
Same happens when trying to change the “body” parameter.
Am i doing something wrong?
Btw, i know that i can change the “label” directly but thats not what im trying to do, i need to change all the window content on the fly.
and when i press a button i need to replace this dataview with another component i.e. a template, will this be possible in next release with the $$(“mywin”).define(“body”, …)?
Yep, it will be possible.
Technically it must be possible in the current version as well, but there is a bug in component.destructor() which doesn’t allow to fully remove old content.
Issue will be fixed in oncoming update.