mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-11-02 14:29:36 +00:00
84 lines
2.5 KiB
HTML
Executable File
84 lines
2.5 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Multi-column headers</title>
|
|
<meta charset="utf-8">
|
|
<link href="../content/shared/styles/examples-offline.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.common.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.rtl.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.default.min.css" rel="stylesheet">
|
|
<link href="../../styles/kendo.default.mobile.min.css" rel="stylesheet">
|
|
<script src="../../js/jquery.min.js"></script>
|
|
<script src="../../js/jszip.min.js"></script>
|
|
<script src="../../js/kendo.all.min.js"></script>
|
|
<script src="../content/shared/js/console.js"></script>
|
|
<script>
|
|
|
|
</script>
|
|
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<a class="offline-button" href="../index.html">Back</a>
|
|
|
|
<div id="example">
|
|
<div id="grid"></div>
|
|
|
|
<script>
|
|
$(document).ready(function () {
|
|
$("#grid").kendoGrid({
|
|
dataSource: {
|
|
type: "odata",
|
|
transport: {
|
|
read: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"
|
|
},
|
|
pageSize: 20
|
|
},
|
|
height: 550,
|
|
groupable: true,
|
|
sortable: true,
|
|
resizable: true,
|
|
reorderable: true,
|
|
pageable: true,
|
|
columnMenu: true,
|
|
columns: [{
|
|
field: "CompanyName",
|
|
title: "Company Name",
|
|
width: 420
|
|
},
|
|
{
|
|
title: "Contact Info",
|
|
columns: [{
|
|
field: "ContactTitle",
|
|
title: "Contact Title",
|
|
width: 200
|
|
},{
|
|
field: "ContactName",
|
|
title: "Contact Name",
|
|
width: 200
|
|
},{
|
|
title: "Location",
|
|
columns: [ {
|
|
field: "Country",
|
|
width: 200
|
|
},{
|
|
field: "City",
|
|
width: 200
|
|
}]
|
|
},{
|
|
field: "Phone",
|
|
title: "Phone",
|
|
width: 150
|
|
}]
|
|
}]
|
|
});
|
|
});
|
|
</script>
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|