Hi.
I have this dropdown
function SomeFilter(element)
{
$(element).attr('id', "SOmething");
element.kendoDropDownList(
{
dataSource: {
transport: {
read:
{
type: "POST",
url: "@Url.Action("SomeAction",
"SomeController")"
}
}
},
filter: "contains",
highlightFirst: true,
delay: 300,
optionLabel: "Select Something",
dataTextField:
"dataTextField",
dataValueField:
" dataValueField ",
select:
onSelect,
dataBound: onDataBound,
open: onOpen
});
}
that is a filter in my grid
columns.Bound(e => e.SomeValue).Title("SomeTitle").Width(85).Filterable(x
=> x.UI("SomeFilter").Extra(false));
So far, so good. This all works
fine. What I need to need is if there is a way to do the filtering on dataValueField
instead of dataTextField.