I am trying to get my grid filter drop downs bound to my data sources by following the demos but my ui functions are not getting called.
I have cut things down to the smallest subset of data I can and still my filters are just the stock ones and my functions never seem to get triggered.
The helper function used works perfectly everywhere else I use it and as it is break points indicate the areaFilter is never called to do anything anyway. Is there some obvious error in this? Futher - when I do just enter data into the type in box it doesn't get sent to the web server, only the paging options make it, the filters are lost somewhere along the way.
I have cut things down to the smallest subset of data I can and still my filters are just the stock ones and my functions never seem to get triggered.
$("#searchResults").kendoGrid({
dataSource: seachResultsDataSource,
filterable: {
extra: false,
operators: {
string: {
startswith: "Starts with",
eq: "Is equal to",
neq: "Is not equal to"
}
}
},
columns : [
{
title: "Area",
field: "AreaID",
filterable: {
ui: areaFilter
}
}]
});
// Never gets called.
function areaFilter(element) {
kendoHelper.BindDropDownList(element, dataSources.areaDataSource);
}