So I need to see just the events with a specific Title, ID or Employee . . . . .
I searched and I found this way to implement the filter in the razor code on the scheduler directly .... but it will show me the filtered events all the time.
So I need to do this dynamically ... with Multi-Select Options...
This is my MultiSelect :
@(Html.Kendo().MultiSelect()
.Name(
"events_MultiSelect"
)
.Placeholder(
"Filter . . ."
)
.ValuePrimitive(
true
)
.DataTextField(
"Title"
)
.DataValueField(
"Title"
)
.Events(eventt =>{
eventt.Open(
"openMultiSelect"
);
eventt.Change(
"changeMultiSelect"
); })
.DataSource(source =>{
source.Custom()
.Type(
"aspnetmvc-ajax"
)
.Transport(transport =>{
transport.Read(
"GetEvents"
,
"Filter"
); })
.Schema(schema =>{
schema.Data(
"Data"
)
.Total(
"Total"
)
.Errors(
"Errors"
);
});
})
)