I have a grid where I am trying to use the filter feature however I always get an error
Uncaught TypeError: Cannot call method 'toLowerCase' of undefined
I have tried using all of the scripts just to test that I am not missing a script however I still get the same error
I don't think I am doing anything wrong with my code.
I have a row template that looks like
My table layout looks like
I am setting up the grid like
Can anyone let me know what I am doing wrong?
Uncaught TypeError: Cannot call method 'toLowerCase' of undefined
I have tried using all of the scripts just to test that I am not missing a script however I still get the same error
I don't think I am doing anything wrong with my code.
I have a row template that looks like
<script id="rowTemplate" type="text/x-kendo-tmpl"> <tr data-id="${ Id}"> <td> ${ Description} </td> </tr></script>My table layout looks like
<table id="mytable"> <thead> <tr> <th> Description </th> </tr> </thead> <tbody> <tr> <td colspan="1"> </td> </tr> </tbody> </table>I am setting up the grid like
$("#mytable").kendoGrid({ dataSource: { transport: { read: "/api/details/get" }, pageSize: 10 }, height: 250, filterable: true, sortable: true, selectable: "row", change: onChange, pageable: true, editable: "popup", toolbar: kendo.template($("#template").html()), rowTemplate: kendo.template($("#rowTemplate").html()) }); });Can anyone let me know what I am doing wrong?