Error to set window title

https://snippet.dhtmlx.com/6l977y77

how to get window.title and set title?

console.log(dhxWindow.config.title);
const newTitle = 'aaaaa';
dhxWindow.config.title = newTitle;
dhxWindow.header.data.update("title", {value: newTitle});
console.log(dhxWindow.config.title);
1 Like

Thank you for this.

console.log(dhxWindow.config.title);
dhxWindow.header.data.update(“title”, {value: dhxWindow.config.title = ‘aaaaaa’});
console.log(dhxWindow.config.title);

https://snippet.dhtmlx.com/idxwcexy