or
IEnumerable<IFoo> items = repo.GetFoo();
return
View( items );
@model IEnumerable<
IFoo
>
@Html.Kendo().Grid(Model).Name("Grid").Columns(column =>
{
column.Bound(c => c.Name).Title("Foo Name");
column.Bound(c => c.Key).Title("Foo Key");
}).DataSource(dataSource => dataSource.Ajax().ServerOperation(false))
Exception Details: System.MissingMethodException: Cannot create an instance of an interface.
Source Error:
Line 7: @Html.Kendo().Grid(Model).Name("Grid").Columns(column =>
.km-ios .km-button {
...
box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3);
-webkit-box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3);
}
#tasklist .km-button {
box-shadow: none;
-webkit-box-shadow: none;
}
If I have a <th> element that has text where the first character is a numeric value (e.g. '1 Title'), the attempt to create a KendoGrid from the table fails. For example, the following code fails, but if I replace '1 Title' with something like 'A1 Title', it works. Is it suppose to work that way?
<
table
id
=
'OneTable'
>
<
thead
>
<
tr
>
<
th
>One Title</
th
>
<
th
>1 Title</
th
>
</
tr
>
</
thead
>
<
tbody
>
<
tr
>
<
td
>One Data</
td
>
<
td
>1 Data</
td
>
</
tr
>
</
tbody
>
</
table
>
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
$('#OneTable').kendoGrid();
});
</
script
>