Hi,
We have recently changed some legacy code which was calling a WCF API to populate the grid and it was using serverside paging. We have to use the same serverside paging but with C# datasource. How can we achieve this?
This is how the code was before when it used an API:
dataSource: {
type: "odata",
transport: {
read: dataUrl,
dataType: "json"
},
schema: {
model: BillingModel,
data: function (data) {
return data["value"];
},
total: function (data) { return data['odata.count']; }
},
serverPaging: true,
serverFiltering: true,
serverSorting: true,
sort: { field: "EncounterDate", dir: "asc" }
}
This was changed to use the c# datasource now:
dataSource: {
schema: {
model: BillingModel,
}
}


I am using the following JSON data in my Kendo ListView DataSource:
[ { "Id": 2, "Name": "My Name", "Address": "123 Sesame Street", "City": "My City", "State": "MO", "ProductTypes": [ { "Id": 2, "Name": "Cage Free" }, { "Id": 3, "Name": "Free-Trade" }, { "Id": 4, "Name": "GAP" }, { "Id": 6, "Name": "Grass Fed" } ] }]
Now here is my goal/issue. I would like to filter the datasource when a checkbox is checked and the field I would like to filter by is the `ProductTypes.Name` field.
However, I'm not sure how to get this working correctly.
Here is my DataSource:
profileDataSource: new kendo.data.DataSource({
transport: {
read: {
url: "/Profile/GetAllProfiles",
dataType: "json"
}
},
schema: {
model: {
fields: {
Id: { type: "number", editable: false, nullable: true },
Name: { type: "string" },
ProductTypes_Name: { type: "string", from: "ProductTypes.Name" }
}
}
}
})
And here is how I'm currently trying to filter but it's not working:
$("#profileCertificationsListView").on("click", "input[type=checkbox]", function() {
viewModel.profileDataSource.filter({
filters: [
{ field: "ProductTypes_Name", operator: "eq", value: $(this).attr("name") }
]
}
});
If I check the checkbox that has the name "Cage Free" for example, all of the items in the listview are hidden.

I'm totally new to Telerik and the example that I want to build upon is defined in this style:
<kendo-grid name="grid" height="550">
<columns>
<column field="Facility_Id" title="Facility"/>
<column field="Name" title="Name"/>
when I look for hints on what is possible, I find only this style:
$(document).ready(function () {
var grid = $("#grid").kendoGrid({
columns: [
{ field: "FirstName", title: "First Name", width: "140px" },
{ field: "LastName", title: "Last Name", width: "140px" },
{ field: "Title" },
{ command: { text: "View Details", click: showDetails }, title: " ", width: "180px" }]
}).data("kendoGrid");
Which is the preferred one and where do I find examples for the first style please?
Thanks

I have been doing a static code analysis of my entire project with the KIUWAN tool
This tool has found some security issues in some Kendo JS files
I would like to know if they are false positives or if it can be justified in some way that there are no security problems
Problems found (the most important are the first 3):
Kendo version: 2020.2.513
Hi, we need to use the setOptions function when we resize the window, to set the new gantt height.
We also use the "resizable" property.
The problem is, after a "column resize", the inner "option" column width is not set to the object.
So, when we use setOptions, the columns size are back to original.
We found a workaround, where we edit the inner option column size property after a "colunnResize" event, but I think that it's a bug and it should be done by the component itself automatically.
https://dojo.telerik.com/@foxontherock/uCulUjiy/6
I also tried to keep the "listWidth" by binding the "resize" event of the inner splitbar, but I think it's not a kendo splitter, but a custom spliter made just for the gantt, and it doesn't work.

We’re using the Kendo Grid and need to make it ADA compliant . We're using a tool called JAWS for verifying the ADA compliance.
Below are some of the issues we noticed:
1) How can we set focus on the Edit popup screen from kendo grid?
2) Say once the focus is set on Edit popup form ;How can we navigate to the other controls on the popup screen ?
3) How can we exit out of the edit popup screen and set focus back to the main grid ?
Thanks,
Prasuna