Hi, I recently created a grid with a multiselect filter and noticed that the selected values are not showing if the user selects more than one item and then filters. I could reproduce the behaviour in a short dojo script which comes from the telerik examples.
Is there any reason for this behaviour or did I forget something that makes the filter control fail? If this is a bug, is there a workaround?
In the example, the field that contains the filter is "Name" (2nd column).
<!DOCTYPE html>I have a Kendo grid Jquery component with field grouped and hidden. I would like to show a filter button based on this field. Could you help me ?
Thanks
Hi,
When I tried to filter the grid by pressing the buttons on top of the grid, the filtering does not appear to work.
I just dont know where I went wrong. I have done quite a few of them without issues, but on this one, i cannot see where the problem is. I have now triple check the code and I still can't see it!
Adding here a link to the dojo: https://dojo.telerik.com/@galedin/EXAZIJIx
Thanks,
Dear team,
I am facing an issue realted to kendo dropdwonlist filter ,we are getting this issue after upgrading to kendo version v2022.2.510 . The issue is after entring the value in serchbox(filter) it is clearing the value automatically by this the calling to the filtering is happening twice to server side. how to prevent this auto clearing please suggest the way.
Thank you for your support,
Regards,
Sai
I have a Kendo DropdownList as follows :
$("#txtTag").kendoDropDownList({
dataTextField: "TagDesc",
dataValueField: "TagId",
optionLabel: " ",
dataSource: {
transport: {
read: {
dataType: "json",
url: "/Data/GetTag"
}
}
},
change: onChange,
filter: "contains"
});
I have hidden one of the values by using
$("#txtTag_listbox li")[4].hidden = true;
However, when I do a filter/search on the dropdown List , the hidden item also appears in that list. How do I prevent it to not appear it in the list.
I could not figure out how to localize filter message which is "0 selected items". I check for the documentary doc
but could not applied it into my code. Would glad if I could get a help
I have a filter on a datasource which in return updates a grid. The following are the code to filter and its' template handler.
The problem with this is that, I can load the categories at first when I'm creating the filters. But when I save and reload the filter from local storage, the category dropdown does not load. Please help me with this. It loads up only on a fresh filter.
Thanks in advance.
@(Html.Kendo().Filter<Lovely>()
.Name("OrgFilter")
.ApplyButton(true)
.ExpressionPreview(true)
.DataSource("DataSource")
.Fields(f =>
{
f.Add(p=>p.OrgName).Label("Organization");
f.Add(p=>p.CategoryId).Label("Category").EditorTemplateHandler("CategoryDropdown");
f.Add(p=>p.AsAtDate).Label("As At Date");
}))
<script>
function CategoryDropdown(container, options) {
$('<input data-bind="value: value" name="' + options.field + '"/>')
.appendTo(container)
.kendoDropDownList({
dataTextField: "CategoryId",
dataValueField: "CategoryId",
dataSource: @Json.Serialize(ViewData["Catogories"])
});
}
</script>
When I select a filter dropdown value, it gets populated into other filter fields as well.
I have checked my grid configurations, but couldn't figure our what issue is there.
PS: The attachment is an GIF screen recording of the issue.
Hi,
I encoutered a problem where I'm trying to have 2 different filter options for a Kendo Grid column and I can't manage to find the answer on how to combine filters like Operators (equal to, is greater than, etc.) and filter multi checkboxes listing all results for that column.
I have a working copy of filter multi checkboxes, but when I try to add a second option on one of my columns.filterable it's not taken into account and I didn't manage to find any answers on a possible how to.
filterable: {
multi: true,
operators: {
string: {
eq: "Equal to",
neq: "Not Equal to"
}
},
}