]> git.pond.sub.org Git - eow/blobdiff - static/dojo-release-1.1.1/dojox/grid/tests/test_dojo_data_model_EmptyResultSet.html
Replace Dojo with jQuery
[eow] / static / dojo-release-1.1.1 / dojox / grid / tests / test_dojo_data_model_EmptyResultSet.html
diff --git a/static/dojo-release-1.1.1/dojox/grid/tests/test_dojo_data_model_EmptyResultSet.html b/static/dojo-release-1.1.1/dojox/grid/tests/test_dojo_data_model_EmptyResultSet.html
deleted file mode 100644 (file)
index 8a9048a..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-       <title>dojox.Grid with Dojo.Data via binding</title>
-       <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
-       <style type="text/css">
-               @import "../../../dojo/resources/dojo.css";
-               @import "../_grid/tundraGrid.css";
-               
-               #grid {
-                       width: 65em;
-                       height: 25em;
-                       padding: 1px;
-               }
-       </style>
-       <script type="text/javascript" src="../../../dojo/dojo.js" 
-               djConfig="isDebug: true, debugAtAllCosts: false, parseOnLoad: true"></script>
-       <script type="text/javascript">
-               dojo.require("dojox.grid.Grid");
-               dojo.require("dojo.data.ItemFileReadStore");
-               dojo.require("dojo.parser");
-       </script>
-       <script type="text/javascript">
-               function getRow(inRowIndex){
-                       return ' ' + inRowIndex;
-               }
-    
-               var layoutCountries = [
-                       // view 0
-                       { type: 'dojox.GridRowView', width: '20px' },
-                       // view 1
-                       { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true},
-                       // view 2
-                       { cells: [[
-                               { name: "field 0", field: 0, width: 8 },
-                               { name: "field 1", width: 8 }
-                       ]]}
-               ];
-       </script>
-</head>
-<body class="tundra">
-       <h5>dojox.Grid using Dojo.Data stores where a query returns no results.  No errors should be reported in Firebug and the grid should be empty</h5>
-    <br>
-       <span dojoType="dojo.data.ItemFileReadStore" 
-               jsId="jsonStore" url="../../../dijit/tests/_data/countries.json">
-       </span>
-       <span dojoType="dojox.grid.data.DojoData" 
-               jsId="dataModel" 
-               rowsPerPage="20"
-               store="jsonStore" 
-               query="{ noSuchAttr : '*' }">
-       </span>
-       <div id="grid" dojoType="dojox.Grid" elasticView="2" 
-               model="dataModel" structure="layoutCountries">
-       </div>
-</body>
-</html>