DHTMLX Docs & Samples Explorer

Auto height mode

Source
<script src="../../codebase/dhtmlxdataview.js" type="text/javascript"></script>
<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxdataview.css">  
 
<div id="data_container" style="border:1px solid #A4BED4; background-color:white; width:100%;height:396px;"></div>
<script>
data = new dhtmlXDataView({
    container: "data_container",
    height: "auto",
    type: {
        template: "<span class='dhx_strong'>#Maintainer#</span>#Package# <span class='dhx_light'>#Version#</span>",
        height: 35;
    }
});
data.load("../common/data.xml");
</script>