DhtmlxLayout Error

I keep getting this error messages in both the samples and the code I created.



Microsoft JScript runtime error: ‘this.skinParams[…].header_height’ is null or not an object



I am trying to attach a treegrid to the layout.


Please, check the sample in the package dhtmlxLayout/samples/components/treegrid.html. Possibly it’ll allow to solve the problem.


If it doesn’t, please provide the sample that allows to re-create the issue (if the sample contains dhtmlx libraries, please send by email to support@dhtmlx.com).


The samples are not working that I dowload from your site either. Here is what I have.



<%@ Page Language=“C#” AutoEventWireup=“true” CodeFile=“ztest.aspx.cs” Inherits=“ztest” %>



<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>



<html>



<head>



<title>rr</title>



<link rel=“stylesheet” type=“text/css” href=“dhtmlx/dhtmlxwindows.css” />



<link rel=“stylesheet” type=“text/css” href=“dhtmlx/skins/dhtmlxwindows_standard.css” />



<link rel=“stylesheet” type=“text/css” href=“dhtmlx/dhtmlxtabbar.css” />



<link rel=“STYLESHEET” type=“text/css” href=“dhtmlx/dhtmlxmenu.css” />



<link rel=“STYLESHEET” type=“text/css” href=“dhtmlx/context.css” />



<link rel=“stylesheet” type=“text/css” href=“dhtmlx/dhtmlxlayout.css” />



<link rel=“stylesheet” type=“text/css” href=“dhtmlx/skins/dhtmlxlayout_dhx_blue.css” />



<script src=“dhtmlx/dhtmlxlayout.js”></script>



<script src=“dhtmlx/dhtmlxcommon.js”></script>



<script src=“dhtmlx/dhtmlxwindows.js”></script>



<script>



function doOnLoad()



{



myLayout = new dhtmlXLayoutObject(document.body, “2U”);



}



</script>



</head>



<body onload=“doOnLoad()” style=“width:100%; height:100%; margin:0px; overflow:hidden;”>



</body>



</html>


dhtmlxcommon.js.zip (5.7 KB)
dhtmlxlayout.js.zip (12.7 KB)
dhtmlxwindows.js.zip (8.84 KB)


Yes, there is the problem with the files that you provided.


The issue hasn’t been reproduced with the latest layout and windows libraries. Please, try to use the js and css libraries from the attached sample.


1241533093.zip (48 KB)