I have the following grid:
$("#mygrid").kendoGrid({ dataSource: gridDataSource, filterable: { extra: false, operators: { string: { startswith: "Starts with", eq: "Is equal to" }, date: { eq: "Is equal to" } } }, columns: [ { 'field': 'RateType', 'title': 'Rate', editor: brDropDownEditor, template: "#=RateType.Name#" }, ... ]});There are other fields but "RateType" is the one I have a question about. The field is an object and I'm using the template so the Name property is displayed in the grid.
When I attempt to filter by that column I get the following javascript error:
Uncaught TypeError: (d.RateType || "").toLowerCase is not a functionMy question is, how do I get it to filter by the Name property instead of the object? I tried searching the forums and found this post: http://www.telerik.com/forums/inline-grid-filtering---column-bound-to-property-object
In that post, Plamen provided a sample (http://dojo.telerik.com/@zdravkov/ApiJU/2) which has the Category column setup the same way my RateType column is setup. In that sample, when I try to apply a filter on the Category column, I get the same javascript error:
Uncaught TypeError: (d.Category || "").toLowerCase is not a functionIs this a bug? How can I get the filter to compare against the Name property that I'm using in the template?
