Deleted my post :(

Because deleted my post?
Error:
Uncaught TypeError: Cannot set property ‘_unrendered_area’ of null

HTML

<!DOCTYPE html>

<html lang="pt-br">
<head>
    <meta charset="utf-8" />
    <title>[% c.config.titulo %]</title>
    [% skin = 'dhx_skyblue' %]
    <link rel="stylesheet" type="text/css" href="/static/css/style.css" />
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxLayout/codebase/dhtmlxlayout.css" />
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxLayout/codebase/skins/dhtmlxlayout_[% skin %].css" />
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxToolbar/codebase/skins/dhtmlxtoolbar_[% skin %].css" />
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxWindows/codebase/dhtmlxwindows.css" />
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxWindows/codebase/skins/dhtmlxwindows_[% skin %].css" />
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxTabbar/codebase/dhtmlxtabbar.css" />
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxForm/codebase/skins/dhtmlxform_[% skin %].css" />
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxCalendar/codebase/dhtmlxcalendar.css">
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxCalendar/codebase/skins/dhtmlxcalendar_[% skin %].css">
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxDataView/codebase/dhtmlxdataview.css">
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxMessage/codebase/skins/dhtmlxmessage_[% skin %].css" />
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxPopup/codebase/skins/dhtmlxpopup_[% skin %].css"/>
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.css">
    <link rel="stylesheet" type="text/css" href="/static/dhtmlx/dhtmlxGrid/codebase/skins/dhtmlxgrid_[% skin %].css">
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxLayout/codebase/dhtmlxcommon.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxLayout/codebase/dhtmlxcontainer.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxDataView/codebase/dhtmlxdataview.js"></script>
    <script type="text/javascript" src='/static/dhtmlx/dhtmlxMessage/codebase/dhtmlxmessage.js'></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxPopup/codebase/dhtmlxpopup.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxLayout/codebase/dhtmlxlayout.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxToolbar/codebase/dhtmlxtoolbar.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxWindows/codebase/dhtmlxwindows.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxTabbar/codebase/dhtmlxtabbar.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.js"></script>        
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxForm/codebase/dhtmlxform.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxCalendar/codebase/dhtmlxcalendar.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxForm/codebase/ext/dhtmlxform_dyn.js"></script>
    <script type="text/javascript" src="/static/dhtmlx/dhtmlxForm/codebase/ext/dhtmlxform_item_calendar.js"></script>
    <script type="text/javascript" src="/static/js/ajax.js"></script>
    <script type="text/javascript" src="/static/js/func.js"></script>
    <script type="text/javascript" src="/static/js/cliente.js"></script>
</head>

<body>

    <input type="hidden" name="skin" id="skin" value="[% skin %]" />

</body>
</html>

Javascript:

        var visualizar = windows.createWindow(janela, 0, 0, width, height);
        visualizar.setText('Visualizar Cliente');
        visualizar.setIcon('../../../../icons/group_go.png');
        visualizar.center();
        visualizar.attachEvent("onClose", function(){
            win = true;
            return true;
        });
        
        var visualizar_layout = visualizar.attachLayout('1C', skin);
        visualizar_layout.cells('a').hideHeader();
        
        var template = '';
        
        var tipo;
        
        if(pessoa == 1){
            tipo = 'fisica';
        }else{
            tipo = 'juridica';
        }
        
        var config = {
            type:{
                template: "<div style='font-size: 20px'>#Campo#: <strong>#Valor#</strong></div>",
                padding: 5,
                height: 25,
                width: 600,
                template_edit:"<input style='width: 500px;' bind='obj.Valor' />"
            },
            edit:true
        };
        
        var visualizar_data = visualizar_layout.cells("a").attachDataView(config);
        visualizar_data.load('/cliente/visualizar/'+tipo+'/'+id);

Error line 87 file dhtmlxdataview.js

Resolved, lacked:

visualizar_data.attachEvent("onEditKeyPress", function (code, ctrl, shift, ev){
     return true;
});

the error continues :frowning:

error also in the example DHTMLX:
dhtmlx.com/docs/products/dht … ayout.html

close window, after especione element

Can’t reproduce your issue locally: not enough data.
Please, provide us completed demo
docs.dhtmlx.com/doku.php?id=othe … leted_demo

the error in this own site DHTMLX
see the pictures






In attachment fixed files. Replace them with yours
dhtmlxDataView.rar (48.6 KB)