simjax-paging.html
1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>SimPaging Grid Example</title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="../shared/example.css" />
<!-- GC -->
<script type="text/javascript" src="../../ext-all.js"></script>
<!--
This script intercepts ajax/jsonp and provides canned data in response:
-->
<script type="text/javascript" src="simjax-paging.js"></script>
<!--
This is the same exact script code used for the real JSONP Paging Grid Example:
-->
<script type="text/javascript" src="paging.js"></script>
<style type="text/css">
.x-grid-cell-topic b {
display: block;
}
.x-grid-cell-topic .x-grid-cell-inner {
white-space: normal;
}
.x-grid-cell-topic a {
color: #385F95;
text-decoration: none;
}
.x-grid-cell-topic a:hover {
text-decoration:underline;
}
.x-grid-cell-topic .x-grid-cell-innerf {
padding: 5px;
}
.x-grid-rowbody {
padding: 0 5px 5px 5px;
}
</style>
</head>
<body>
<h1>Simulated JSONP Paging Grid Example</h1>
<p>This page demonstrates how to use simulated JSONP by including the exact same code
used by the real JSONP paging grid example after the simulation layer.</p>
<p>Note that the js is not minified so it is readable. See <a href="simjax-paging.js">simjax-paging.js</a>
and the unmodified example code <a href="paging.js">paging.js</a>.</p>
<div id="topic-grid"></div>
</body>
</html>