Hi,
I have a grid binding nicely to a remote XML data source. The XML in question is generated from a database, which all works fine until there is a null entry in the data - which in turn removes the line from XML.
A (very) simple example of the resulting XML would be as follows:
Note how there is no "code" field for the second "Product" entry. This is causing the grid to hang with the error:
Error: d.Product_Code is undefined
Source File: XXX/Scripts/Kendo_UI_Beta_2011_2_804/js/kendo.all.min.js
Line: 1
So my question is, is there a simple way to overcome this with the Kendo data source/grid control?
Thanks!
I have a grid binding nicely to a remote XML data source. The XML in question is generated from a database, which all works fine until there is a null entry in the data - which in turn removes the line from XML.
A (very) simple example of the resulting XML would be as follows:
<tblProduct> <Product> <name>This is a product</name> <code>PRO001</code> <description>A really great product.</description> </Product> <Product> <name>This is a product</name>
<description>Another really great product.</description>
</Product></tblProduct>Note how there is no "code" field for the second "Product" entry. This is causing the grid to hang with the error:
Error: d.Product_Code is undefined
Source File: XXX/Scripts/Kendo_UI_Beta_2011_2_804/js/kendo.all.min.js
Line: 1
So my question is, is there a simple way to overcome this with the Kendo data source/grid control?
Thanks!