Sample: dhtmlxGrid Link Button dhtmlxGrid main page
X

Here is an example of implementation of html links in dhtmlxgrid. You can specify url or skip it. Also you can specify a target (_blank by default)


All links except "Yanka Kupala" will be opened in new windows.
"Yanka Kupala" will be opened in iframe

 
<div id="gridbox" width="100%" height="250px" style="background-color:white;overflow:hidden"></div>
<script>
 
        mygrid = new dhtmlXGridObject('gridbox');
        ...
        mygrid.setColTypes("ro,link");
        ...
        mygrid.init();
        mygrid.loadXML("grid_links.xml");
</script>

The corresponding cell value in XML should be a "^" delimited list of following values:
1st - Link Text
2nd - URL (optional)
3rd - target (optional, default is _blank)