Hello, Joel,
Thank you for the provided code snippet!
The Kendo UI Grid sends a Read request to populate its data the first moment it gets initialized. To avoid the first request add the following option to the Grid's declaration:
Within the document.ready jQuery event, send the Read request with the relevant filters prepopulated. Here is an example:
$(document).ready(function () {
var grid = $('#grid').data('kendoGrid');
grid.dataSource.filter({
logic: "and",
filters: [
{ field: "ShipName", operator: "contains", value: "4" },
{ field: "ShipCity", operator: "contains", value: "1" }
]
});
});
Additional information about the filter operators is presented in the below article:
https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/filterable.operators.number
I hope this information helps. Please let me know if I can assist you any further.
Regards,
Anton Mironov
Progress Telerik
Progress is here for your business, like always.
Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.