$("#grid").kendoGrid({
dataSource: {
type: "json",
transport: {
read: {
url: "Home/GetWorklist",
dataType: "json",
type: "GET",
contentType: "application/json; charset=1-8"
}
},
pageSize: 15,
schema: {
data: "data",
total: "total"
}
},
columns: [
{ title: "Part Number", field: "PartNumber", template: "#= PartNumber #" },
{ title: "Noun", field: "Noun", filterable: true },
{ title: "Procurement Code", field: "ProcurementCode", filterable: true },
{ title: "Cage Code", field: "CageCode" },
{ title: "Responsible", field: "Responsible" },
{ title: "SONIC Queue", field: "SonicQueue" },
{ title: "SONIC Status", field: "SonicStatus" },
{ title: "Priority", field: "Priority" },
{ title: "DIS", field: "Dis", width: 50 },
{ title: "QIS", field: "Qis" },
{ title: "Status", field: "Status" },
{ title: "Estimator", field: "Estimator" },
{ title: "Related Parts", field: "RelatedParts" }
],
pageable: true,
sortable: true
});
12 Answers, 1 is accepted
Craig
Filtering is demonstrated in this example: http://demos.kendoui.com/web/grid/local-data.html
Regards,Atanas Korchev
the Telerik team
All the images are in the styles folder which is part of the Kendo distribution. The Getting Started help topic shows how to include the CSS files to your page:
<link href="styles/kendo.common.min.css" rel="stylesheet" type="text/css" />I hope this helps,
<link href="styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
Atanas Korchev
the Telerik team
pageable: true,
sortable: true,
filterable: true
Unfortunately it is close to impossible to tell what the problem is based on your explanation. Could you elaborate? We need more details in order to troubleshoot the problem - more code etc. You can consider opening a support ticket and sending us a running demo which we can test.
Regards,Atanas Korchev
the Telerik team
<div id="grid"></div>
<script type="text/javascript">
$("#grid").kendoGrid({
dataSource: {
type: "json",
transport: {
read: {
url: '@Url.Action("GetQuoteHistory", "Quote")',
dataType: "json",
type: "GET",
data: { id: "@ViewBag.CustomerEstimateKey" }
}
},
pageSize: 15,
schema: {
data: "data",
total: "total"
}
},
columns: [
{ field: "QuoteDateString", title: "Date", width: "60px" },
{ field: "PriceString", title: "Price", width: "110px" },
{ field: "PricedDateString", title: "Priced Date", width: "80px" },
{ field: "Quantity", title: "Quantity", width: "60px" },
{ field: "Customer", title: "Customer" },
{ field: "PriceType", title: "Price Type" },
{ field: "QisStatus", title: "QIS Status" },
{ field: "PricingSource", title: "Pricing Source" },
{ field: "QisType", title: "QIS Type" },
{ field: "Estimator", title: "Estimator" },
{ field: "ProcurementCode", title: "Proc", width: "50px" },
{ field: "Qis", title: "QIS" },
{ field: "Rolt", title: "ROLT", width: "50px" },
{ field: "RequestedPartNumber", title: "Requested Part Number", width: "150px" },
{ field: "AckCodes", title: "Ack Codes" },
{ field: "NotesUrl", title: "Notes", width: "50px" }
],
pageable: true,
sortable: true,
filterable: true
});
</script>
I tried to reproduce the problem to no avail. Here is my test jsFiddle: http://jsfiddle.net/korchev/dpNZ9/1/ What is different in your case?
I suggest you open a support ticket and send us a running project which we can troubleshoot.
Atanas Korchev
the Telerik team
I had the same issue, it was resolved by adding the latest JQuery library. Or the jquery.min.js found on the Kendoui download.