Hi,
I am exploring dhtmlxDataView using templates. However, i am getting an error of “Invalid HTML container” and “Cannot read property classname of Null”
The codes are as follows:
<tr>
<td colspan="3" align="right">Transaction ID: #id#<td>
</table>
</div>
<script type="text/javascript">
dhtmlxEvent(window,"load",function(){
var view = new dhtmlXDataView({
container: "data_container"
});
view.define("type",{
template:"html->contract_container"
});
view.load("data/sales.xml","xmlB");
})
</script>
Sales Receipt |