Error to set window title


#1

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

how to get window.title and set title?


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

#3

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