I'm trying to get a Kendo UI Grid working with AngularJS and a sample of data. I am encountering a generic "Error: Invalid template" error when the grid attempts to display the data. The data I am using is:
$scope.dataSource.data = [
{
"874"
:
" "
,
"878"
:
"Example1"
,
"882"
:
"Example2"
,
"884"
:
"4"
,
"885"
:
"Example 4"
,
"886"
:
"in"
,
"_id"
: {
"$oid"
:
"eaa1e4b0a8480579f79e"
},
"ID1"
:
"46237"
,
"ID2"
:
""
,
"ID3"
:
""
,
"ItemType"
:
"Line"
,
"ItemName"
:
"Example 6"
}
]
I know it's throwing the error on the columns with numbers as headers, because when I take out those columns it works just fine. Also, if I swap those column headers out for letter values, it also renders correctly.
Is this a known issue with the Kendo UI Grid or is there a workaround? I know the data I will be displaying will have numbers as headers often.
Cheers