source: Dev/trunk/src/client/dojox/grid/tests/test_data_grid.html

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 1.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2        "http://www.w3.org/TR/html4/loose.dtd">
3<html>
4<head>
5        <title>Test dojox.grid.DataGrid Basic</title>
6        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
7        <style type="text/css">
8                @import "../../../dojo/resources/dojo.css";
9                @import "../resources/Grid.css";
10                @import "../resources/tundraGrid.css";
11                body {
12                        font-size: 0.9em;
13                        font-family: Geneva, Arial, Helvetica, sans-serif;
14                }
15                .heading {
16                        font-weight: bold;
17                        padding-bottom: 0.25em;
18                }
19                #grid, #grid2 {
20                        width: 65em;
21                        height: 25em;
22                        padding: 1px;
23                }
24        </style>
25        <script type="text/javascript" src="../../../dojo/dojo.js"
26                data-dojo-config="isDebug:false, parseOnLoad: true"></script>
27        <script type="text/javascript">
28                dojo.require("dijit.dijit");
29                dojo.require("dojox.grid.DataGrid");
30                dojo.require("dojo.data.ItemFileWriteStore");
31                dojo.require("dojo.parser");
32        </script>
33        <script type="text/javascript" src="support/test_data.js"></script>
34</head>
35<body class="tundra">
36        <div class="heading">dojox.grid.DataGrid Basic Test</div>
37        <span dojoType="dojo.data.ItemFileWriteStore"
38                data-dojo-id="jsonStore" url="../../../dijit/tests/_data/countries.json">
39        </span>
40        <table dojoType="dojox.grid.DataGrid" keepSelection=true summary="A customized grid summary"
41                data-dojo-id="grid" id="grid"
42                store="jsonStore" query="{ name: '*' }" rowsPerPage="20" rowSelector="20px">
43                <thead>
44                        <tr>
45                                <th field="name" width="300px">Country/Continent Name</th>
46                                <th field="type" width="auto">Type</th>
47                        </tr>
48                </thead>
49        </table>
50</body>
51</html>
Note: See TracBrowser for help on using the repository browser.