DHTMLX Docs & Samples Explorer

Initialize object on page

Source
<script src="../../codebase/dhtmlxdataview.js" type="text/javascript"></script>
<script src="../../codebase/types/ftypes.js" type="text/javascript"></script>
<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxdataview.css">
<link rel="STYLESHEET" type="text/css" href="../../codebase/types/ftypes.css">  
<script>
function doOnLoad() {
    data = new dhtmlXDataView("data_container");
    data.define("type", "ficon");
    data.customize({
        icons_src_dir: "../common/images";
    });
    data.load("../common/files_ext.xml");
}
</script> <div style="position:relative;"> <img src="../common/images/samples_frame.gif" width="436" height="513" alt="" border="0"> <div id="data_container" style="width:396px;height:400px;overflow:hidden;position:absolute;top:65px;left:20px;border:0px solid red;"></div> </div>