dtmlXGridObjet is undefined error

Hello,
I am new to dhtmlx and am planning to use the dhtmlxscheduler, since I couldn’t get this to work with dhtmlxconnector and an oracle database I decided to try a simple example with dhtmlxgrid.

I am getting a dtmlXGridObjet is undefined error.

My code is shown below

 <script>
    var mygrid;
  mygrid = new dhtmlXGridObject("gridbox");

  mygrid.setImagePath("E:\ACS\dhtmlxSuite\dhtmlxGrid\codebase\imgs"); 
  mygrid.setHeader("Column A,Column B, Column C, Column D");

  mygrid.setInitWidths("100,*,*,*");

  mygrid.setColTypes("ed,ed,ed,ed");

  mygrid.setSkin("Modern");

  mygrid.init();
		mygrid.loadXML("E:\ACS\dhtmlxSuite\dhtmlxConnector\codebase\gridconn.php");
</script>

and the code in gidconn.php is

<?php require("E:\ACS\dhtmlxSuite\dhtmlxConnector\codebase\grid_connector.php"); require("E:\ACS\dhtmlxSuite\dhtmlxConnector\codebase\db_oracle.php"); include ("E:\ACS\dhtmlxSuite\system.inc.php"); $res = oci_connect($UID,$PWD,$SID); $grid = new GridConnector($res,"ORACLE"); $grid->render_table("tt_test2","event","start_time,end_time,module,room"); ?>

Can anybody please tell me what is causing the error.
Thanks

I am getting a dtmlXGridObjet is undefined error
This issue may occur if dhtmlxgrid.js file is not attached.
Please check this article docs.dhtmlx.com/doku.php?id=othe … mon_errors

Also please read this tutorial docs.dhtmlx.com/doku.php?id=dhtm … tart_guide

Thanks for the Reply the documents were useful.
I have found out what the problem was I removed the full path and put all the files in the directory above codebase. That works. I also changed the order of the includes.