<div>
<div></div>
<div> const win = document.getElementById(‘windowUser’);</div>
<div> win.addEventListener(‘open’, function (event) {</div>
<div> // event handling code goes here.</div>
<div> win.update(0, “Updated TAB”, “Updated content”);</div>
<div> })</div>
<div> win.addEventListener(‘closing’, function (event) {</div>
<div> // event handling code goes here.</div>
<div> })</div>
</div>
<div>above script error:</div>
<div></div>
<div>Uncaught TypeError: this.update is not a function
at BaseElement.<anonymous> (app.js?v=1.21:1546:14)
at f.dispatchEvent (smart.grid.js:1374:27730)
at fireEvent (smart.grid.js:1374:27132)
at BaseElement.open (smart.window.js:831:12517)
at BaseElement.r (smart.grid.js:1374:72203)
at Object.app.showUserDialog (app.js?v=1.21:1554:17)
at HTMLAnchorElement.<anonymous> (app.js?v=1.21:1615:13)</div>
<div></div>
<div>howto solve?</div>