In order to properly search for a start
date of an event, you will need to pass a Date
object as a value
of the configured DataSource filter. therefore, I have changed the sample sent, so it uses Kendo DatePicker
. You will notice, that I have implemented the filtering logic in the change
event of the DatePicker.
In order to filter properly, you will need to specify first an OwnerId in the input field and then to select a date in the picker. For example, set 2 as OwnerId and select 10 June 2013. This will filter the results and will display only events for the owner 2, which start on or after 10/6/2013.
You will also notice, that I have removed the Recurring events from the DataSource. The reason for that is the fact that the occurrences could not be filtered, but only the master event will be filtered (the one, when the occurrences start). For example, if there is a recurring event starting on 9 June 2013 and the user filters to show only events starting after 10 June 2013, none of the occurrences of the above event will be displayed as its master event starts before the filtering date. This is the way the Scheduler DataSource is designed to behave and filtering occurrences is not supported.
Telerik by Progress