Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Edward on Jun 27, 2009 14:12
open dhtmlx forum
Grid integration with EXTJS

I am trying to use the recommended technique for using the DHX grid within EXTJS.

I am getting these errors. Any idea why?

dhtmlXGridObject is not defined
[Break on this error] dhtmlXGridObject.prototype._aplNF=function(data,ind){
dhtmlxgr...d_extx.js (line 5)

RealNetworks is not defined
[Break on this error] Ext.grid.GridPanel.superclass.initComponent.call(this);
ext-all-debug.js (line 35791)

Ext.grid.GridPanel is undefined
[Break on this error] Ext.grid.GridPanel.superclass.initComponent.call(this);


Initial code

<link rel="stylesheet" type="text/css" href="ext-3.0-rc2/resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="ext-3.0-rc2/examples/ux/css/ux-all.css" />
<link rel="stylesheet" type="text/css" href="ext-3.0-rc2/resources/style.css" />

        <link rel="stylesheet" type="text/css" href="dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.css">
        <link rel="stylesheet" type="text/css" href="dhtmlx/dhtmlxGrid/ext_blue.css" />
    
        <script>
            dhx_image_path="dhtmlx/dhtmlxGrid/codebase/imgs/";
        </script>
        
        <script src="dhtmlx/dhtmlxGrid/codebase/dhtmlxcommon.js"></script>
        <script src="dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
        <script src="dhtmlx/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script>

        <script type="text/javascript" src="ext-3.0-rc2/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/ext-all-debug.js"></script>

        <script type="text/javascript" src="ext-3.0-rc2/ux/menu/EditableItem.js"></script>    
        <script type="text/javascript" src="ext-3.0-rc2/ux/menu/RangeMenu.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/ux/menu/ListMenu.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/ux/menu/TreeMenu.js"></script>

        <script type="text/javascript" src="ext-3.0-rc2/ux/grid/filter/Filter.js"></script>    
        <script type="text/javascript" src="ext-3.0-rc2/ux/grid/filter/StringFilter.js"></script>    
        <script type="text/javascript" src="ext-3.0-rc2/ux/grid/filter/DateFilter.js"></script>    
        <script type="text/javascript" src="ext-3.0-rc2/ux/grid/filter/ListFilter.js"></script>    
        <script type="text/javascript" src="ext-3.0-rc2/ux/grid/filter/NumericFilter.js"></script>    
        <script type="text/javascript" src="ext-3.0-rc2/ux/grid/filter/BooleanFilter.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/ux/grid/GridFilters.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/source/EditorGridPanel.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/source/RowSelectionModel.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/source/Store.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/source/Toolbar.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/source/GridView.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/source/GridPanel.js"></script>
        <script type="text/javascript" src="ext-3.0-rc2/source/DragZone.js"></script>

        <script src="dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid_extx.js"></script>

    </head>
    
    <body>
        <script>        
            Ext.onReady(function() {

                Ext.BLANK_IMAGE_URL = 'ext-3.0-rc2/resources/images/default/s.gif';

                Ext.grid.GridPanel=Ext.grid.dhxGridPanel;

Answer posted by dhxSupport on Jun 29, 2009 03:56
Please make sure if dhtmlxcommon.js, dhtmlxgrid.js and dhtmlxgridcell.js attached correctly. If issue still occurs please provide us sample including files which you are using to initialize grid where we can reproduce this issue.