13693261870
2022-09-16 354b3dbfbffb3df45212a2a44dbbf48b4acc2594
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
56
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Remote Summary Grid Example</title>
    <!-- Ext -->
    <link rel="stylesheet" type="text/css" href="../shared/example.css" />
 
    <!-- GC -->
 
    <script type="text/javascript" src="../../examples/shared/include-ext.js"></script>
    <script type="text/javascript" src="../../examples/shared/options-toolbar.js"></script>
 
    <!--
    This script intercepts ajax and provides canned data in response:
    -->
    <script type="text/javascript" src="remote-group-summary-grid-simjax.js"></script>
 
    <!--
    This code would otherwise make real ajax requests to the server:
    -->
    <script type="text/javascript" src="remote-group-summary-grid.js"></script>
 
    <style type="text/css">
        .task .x-grid-cell-inner {
            padding-left: 15px;
        }
        .x-grid-row-summary {
            color:#333;
            background: #f1f2f4;
        }
        .x-grid-row-summary  .x-grid-cell-inner {
            font-weight: bold;
            padding-bottom: 4px;
        }
        .x-grid-hide-summary .x-grid-row-summary {
            display:none;
        }
        .x-grid-row .x-grid-cell-cost {
            background-color:#f1f2f4;
        }
        .x-grid-row-summary .x-grid-cell-cost {
            background-color:#e1e2e4;
        }
    </style>
 
</head>
<body>
    <h1>Remote Summary Grid Example Example</h1>
    <p>This example demonstrates the use of the GroupingSummaryFeature with server-side summary
        calculation (results are intentionally wrong).</p>
    <p>This page also illustrates how to use Ajax simulation instead of a live server.</p>
    <p>Note that the js is not minified so it is readable. See
        <a href="remote-group-summary-grid.js">remote-group-summary-grid.js</a> and
        <a href="remote-group-summary-grid-simjax.js">remote-group-summary-grid-simjax.js</a>.</p>
</body>
</html>