Problems with field type "link"

Hello!

I am testing the field type “link”.

Using this code here - which is 99% your sample code - I get an operational grid with data from my database:

[code]

Testgrid
</head>
<body>
    <div class="content">

        <div style="display:block;">
            <h3>Active fields</h3>
        </div>

        <link rel="STYLESHEET" type="text/css" href="codebase/dhtmlxgrid.css">

<link rel="stylesheet" type="text/css" href="codebase/skins/dhtmlxgrid_dhx_skyblue.css">
<script  src="codebase/dhtmlxcommon.js"></script>
<script  src="codebase/dhtmlxgrid.js"></script>		
<script  src="codebase/dhtmlxgridcell.js"></script>
<script  src="dhtmlxDataProcessor/codebase/dhtmlxdataprocessor.js"></script>



<p>Only second and third column will trigger data update</p>
<div id="gridbox" style="width:800px;height:270px;overflow:hidden"></div>
		
			
			<p><a href="javascript:void(0)" onclick="mygrid.addRow((new Date()).valueOf(),[0,'','','',false,'na',false,''],mygrid.getRowIndex(mygrid.getSelectedId()))">Add row</a></p>
			<p><a href="javascript:void(0)" onclick="mygrid.deleteSelectedItem()">Remove Selected Row</a></p>
</body>
[/code]

Now, when I change for example the first column from type “ed” to “link” I am getting an error message:

“Error type. Configuration Description: Incorrect cell type: link”

What’s wrong?

Thanks,
R

You need to include
excells/dhtmlxgrid_excell_link.js