а

Error when using dhtmlxDataView with templates


#1

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

#2

Hi
Could you provide the whole demo to test it locally with any static data?
docs.dhtmlx.com/auxiliary_docs__ … pport.html


#3

was there any resolution to this? I am getting exactly the same error messages


#4

Hello, tomhill
Locally works fine. We need completed demo to reproduce the issue and inspect it locally
You can provide it on support@dhtmlx.com with link to this topic
docs.dhtmlx.com/auxiliary_docs__ … pport.html