Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ray on May 04, 2009 12:00
open dhtmlx forum
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.
Answer posted by Alex (support) on May 05, 2009 01:45

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).

Answer posted by Ray on May 05, 2009 06:53

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>

Attachments (3)
Answer posted by Alex (support) on May 05, 2009 07:23

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. 

Attachments (1)