I'm currently redesigning the filter menus in our MVC ASP.NET Core project. As of now, they all have the default menu:
I would like to customise the menus according to the columns' data types - have date range pickers for dates, a slider from min to max value for numbers, etc. The main point is to make the process simpler - so the users only need to input a few characters/choose a date/slide to the right number, instead of filling out this complicated configuration.
Some of such components are provided by kendo (e.g. DateRangePicker), others aren't (e.g. the above-mentioned slider; at least I didn't find anything like it), but could be implemented with a custom function. Either way, I can't seem to be able to override the default filter menu.
The only promising suggesstion on how to achieve something like this that I found was:
grid.Columns(c => c.Bound(item.Name)
.Filterable(ftb => ftb.UI("datePickerFilter"))
function datePickerFilter(element) {
element.kendoDateRangePicker({
messages: {
startLabel: "Check-In",
endLabel: "Check-Out"
},
format: "MM/dd/yyyy"
});
}