I've been trying to hookup a AutoComplete widget. It's failed every time I've tried it with the error "a.ToLowerCase is not a function"
So I added a Grid and bound the same data and it worked as expected. What could be the issue with AutoComplete?
error is
local data is
The code is
So I added a Grid and bound the same data and it worked as expected. What could be the issue with AutoComplete?
error is
local data is
var
myData = [{
"ID"
: 8,
"Title"
:
"Test Title"
,
"Ends"
:
"5/30/2011 6:00:00 PM"
}, {
"ID"
: 37,
"Title"
:
"Test Title 2"
}];
The code is
$(
"#autocomplete"
).kendoAutoComplete({
dataSource: myData
});
$(
"#grid"
).kendoGrid({
columns: [
{
field:
"ID"
,
title:
"ID"
,
width:
"10"
},
{
field:
"Title"
,
title:
"Title"
},
{
field:
"Ends"
,
title:
"Ends"
}],
dataSource: {
data: myData,
pageSize: 5
},
sortable:
true
,
pageable:
true
});