Hi,
As Hayri asked you, you have to pass the request to the server (ajaxRequest) and from there it is up to you to decide what you need to do (UniSession.AddJS for example).
Пример из работающего проекта, здесь включаем CSS файл:
ClientEvents.ExtEvents.Values['initialize'] :=
'function initialize(sender, eOpts)'+
'{'+
' let doc = sender.iframeEl.dom.contentDocument;'+
' let body = doc.body;'+
' let head = doc.head;'+
' let link = document.createElement("link");'+
' link.rel = "stylesheet";'+
' link.type = "text/css";'+
' link.href = "files/YoutCSSFile.css";'+
' head.append(link);'+
'}';
For a simple case, like so for example:
function beforereconfigure(sender, store, columns, oldStore, oldColumns, eOpts)
{
columns[1].align = 'right'; //center, left
}