Kando UI Demo-Grid / Basic usage
<!DOCTYPE html> <html> <head> <title></title> <link href="styles/kendo.common.min.css" rel="stylesheet" /> <link href="styles/kendo.default.min.css" rel="stylesheet" /> <script src="js/jquery.min.js"></script> <script src="js/kendo.all.min.js"></script> </head> <body> <div id="example" class="k-content"> <div id="clientsDb"> <div id="grid" style="height: 380px"></div> </div> <style scoped> #clientsDb { width: 692px; height: 413px; margin: 30px auto; padding: 51px 4px 0 4px; background: url('../../content/web/grid/clientsDb.png') no-repeat 0 0; } </style> <script> $(document).ready(function () { $("#grid").kendoGrid({ dataSource: { type: "odata", transport: { read: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers" }, pageSize: 10 }, groupable: true, sortable: true, pageable: { refresh: true, pageSizes: true, buttonCount: 5 }, columns: [{ field: "ContactName", title: "Contact Name", width: 140 }, { field: "ContactTitle", title: "Contact Title", width: 190 }, { field: "CompanyName", title: "Company Name" }, { field: "Country", width: 110 }] }); }); </script> </div> </body> </html>
If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website
0 comments:
Post a Comment