Hi,
We have a custom popup grid editing form with cascading dropdowns, which use serverFiltering(true) and pass 3 parameters to the datasource read action.
The dropdown gets a set of items and we then want to use simple clientside filtering in the dropdown to help the users find what they want:
@(Html.Kendo().DropDownListFor(m => m.CodeId)
.OptionLabel("Select code ...")
.DataTextField("Description")
.DataValueField("Id")
.Filter(FilterType.Contains)
.MinLength(2)
.ValuePrimitive(true)
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetCodesForPropertyForCashType", "CodeInvoice").Data("GetCodes");
})
.ServerFiltering(true);
})
.Enable(false)
.AutoBind(false)
.CascadeFrom("ScheduleId")
)
But the server filtering always seems to kick in.
Can we get the dropdown to just filter its contents in place after the initial load?
Thanks,
Daniel.