Changeset 12114
- Timestamp:
- 01/21/08 15:43:30 (12 months ago)
- Location:
- dojox/branches/grid-reorganize/grid
- Files:
-
- 32 modified
- 4 moved
-
Grid.js (modified) (2 diffs)
-
resources/Grid.css (moved) (moved from dojox/branches/grid-reorganize/grid/_grid/Grid.css)
-
resources/Grid_rtl.css (moved) (moved from dojox/branches/grid-reorganize/grid/_grid/Grid_rtl.css)
-
resources/images (moved) (moved from dojox/branches/grid-reorganize/grid/_grid/images)
-
resources/tundraGrid.css (moved) (moved from dojox/branches/grid-reorganize/grid/_grid/tundraGrid.css)
-
tests/support/testtbl.sql (modified) (1 prop)
-
tests/test_change_structure.html (modified) (3 diffs)
-
tests/test_custom_sort.html (modified) (2 diffs)
-
tests/test_dojo_data.html (modified) (3 diffs)
-
tests/test_dojo_data_model.html (modified) (6 diffs)
-
tests/test_dojo_data_model_multiStores.html (modified) (15 diffs)
-
tests/test_dojo_data_model_processError.html (modified) (4 diffs)
-
tests/test_dojo_data_notification.html (modified) (6 diffs)
-
tests/test_edit.html (modified) (4 diffs)
-
tests/test_edit_dijit.html (modified) (4 diffs, 1 prop)
-
tests/test_events.html (modified) (4 diffs)
-
tests/test_expand.html (modified) (3 diffs)
-
tests/test_grid.html (modified) (2 diffs)
-
tests/test_grid_layout.html (modified) (2 diffs)
-
tests/test_grid_programmatic.html (modified) (3 diffs)
-
tests/test_grid_programmatic_layout.html (modified) (3 diffs)
-
tests/test_grid_tooltip_menu.html (modified) (3 diffs)
-
tests/test_keyboard.html (modified) (2 diffs)
-
tests/test_mysql_edit.html (modified) (4 diffs)
-
tests/test_sizing.html (modified) (4 diffs)
-
tests/test_sizing_ResizeHandle.html (modified) (4 diffs)
-
tests/test_styling.html (modified) (3 diffs)
-
tests/test_subgrid.html (modified) (4 diffs)
-
tests/test_tundra_edit.html (modified) (4 diffs)
-
tests/test_yahoo_images.html (modified) (4 diffs)
-
tests/test_yahoo_search.html (modified) (5 diffs)
-
VirtualGrid.js (modified) (5 diffs)
-
_grid/builder.js (modified) (1 diff)
-
_grid/lib.js (modified) (1 diff)
-
_grid/rowbar.js (modified) (1 diff)
-
_grid/view.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dojox/branches/grid-reorganize/grid/Grid.js
r11983 r12114 4 4 dojo.require("dojox.grid._data.editors"); 5 5 6 dojo.declare('dojox. Grid', dojox.VirtualGrid, {6 dojo.declare('dojox.grid.Grid', dojox.grid.VirtualGrid, { 7 7 // summary: 8 8 // A grid widget with virtual scrolling, cell editing, complex rows, … … 26 26 // | 27 27 // | <div id="grid" model="model" structure="structure" 28 // | dojoType="dojox. VirtualGrid"></div>28 // | dojoType="dojox.grid.VirtualGrid"></div> 29 29 // 30 30 -
dojox/branches/grid-reorganize/grid/tests/support/testtbl.sql
- Property svn:eol-style set to native
-
dojox/branches/grid-reorganize/grid/tests/test_change_structure.html
r11257 r12114 2 2 <html> 3 3 <head> 4 <title>dojox. Grid Change Structure Example</title>4 <title>dojox.grid.Grid Change Structure Example</title> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> 6 6 <style type="text/css"> 7 @import "../ _grid/Grid.css";7 @import "../resources/Grid.css"; 8 8 body { 9 9 font-size: 0.9em; … … 42 42 43 43 // a special view providing selection feedback 44 var rowBar = {type: 'dojox. GridRowView', width: '20px' };44 var rowBar = {type: 'dojox.grid.GridRowView', width: '20px' }; 45 45 46 46 // a view without scrollbars … … 116 116 </head> 117 117 <body> 118 <div class="heading">dojox. VirtualGrid Change Structure Example</div>118 <div class="heading">dojox.grid.VirtualGrid Change Structure Example</div> 119 119 <p> 120 120 <button onclick="toggleStructure()">Change Structure</button> 121 121 </p> 122 <div id="grid" dojoType="dojox. VirtualGrid" structure="structure" rowCount="100000" elasticView="2"></div>122 <div id="grid" dojoType="dojox.grid.VirtualGrid" structure="structure" rowCount="100000" elasticView="2"></div> 123 123 124 124 </body> -
dojox/branches/grid-reorganize/grid/tests/test_custom_sort.html
r11458 r12114 2 2 <html> 3 3 <head> 4 <title>Custom Sort Test - dojox. Grid</title>4 <title>Custom Sort Test - dojox.grid.Grid</title> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> 6 6 <style type="text/css"> 7 @import "../ _grid/Grid.css";7 @import "../resources/Grid.css"; 8 8 body { 9 9 font-size: 0.9em; … … 79 79 </head> 80 80 <body> 81 <div class="heading">dojox. Grid Custom Sort Test</div>81 <div class="heading">dojox.grid.Grid Custom Sort Test</div> 82 82 <br /> 83 83 <b>Column 3</b>'s data field has a custom sorter that sorts by the 2nd letter in the string. 84 84 <br /><br /> 85 <div id="grid" dojoType="dojox. Grid" model="model" structure="layout"></div>85 <div id="grid" dojoType="dojox.grid.Grid" model="model" structure="layout"></div> 86 86 </body> 87 87 </html> -
dojox/branches/grid-reorganize/grid/tests/test_dojo_data.html
r11318 r12114 2 2 <html> 3 3 <head> 4 <title>dojox. Grid with Dojo.Data via binding</title>4 <title>dojox.grid.Grid with Dojo.Data via binding</title> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> 6 6 <style type="text/css"> 7 @import "../ _grid/Grid.css";7 @import "../resources/Grid.css"; 8 8 body { 9 9 font-size: 1em; … … 95 95 96 96 var layout2 = [ 97 { type: 'dojox. GridRowView', width: '20px' },97 { type: 'dojox.grid.GridRowView', width: '20px' }, 98 98 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, 99 99 { cells: [[ … … 133 133 </head> 134 134 <body> 135 <h5>dojox. Grid using Dojo.Data stores via simple binding</h5>136 <div jsId="grid" dojoType="dojox. Grid"135 <h5>dojox.grid.Grid using Dojo.Data stores via simple binding</h5> 136 <div jsId="grid" dojoType="dojox.grid.Grid" 137 137 elasticView="2" structure="layout2"></div> 138 138 </body> -
dojox/branches/grid-reorganize/grid/tests/test_dojo_data_model.html
r11347 r12114 2 2 <html> 3 3 <head> 4 <title>dojox. Grid with Dojo.Data via binding</title>4 <title>dojox.grid.Grid with Dojo.Data via binding</title> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> 6 6 <style type="text/css"> 7 7 @import "../../../dojo/resources/dojo.css"; 8 @import "../ _grid/tundraGrid.css";8 @import "../resources/tundraGrid.css"; 9 9 10 10 #grid, #grid2 { … … 30 30 var layoutMovies = [ 31 31 // view 0 32 { type: 'dojox. GridRowView', width: '20px' },32 { type: 'dojox.grid.GridRowView', width: '20px' }, 33 33 // view 1 34 34 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 43 43 var layoutCountries = [ 44 44 // view 0 45 { type: 'dojox. GridRowView', width: '20px' },45 { type: 'dojox.grid.GridRowView', width: '20px' }, 46 46 // view 1 47 47 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 55 55 </head> 56 56 <body class="tundra"> 57 <h5>dojox. Grid using Dojo.Data stores via simple binding</h5>57 <h5>dojox.grid.Grid using Dojo.Data stores via simple binding</h5> 58 58 <span dojoType="dojox.data.CsvStore" 59 59 jsId="csvStore" url="support/movies.csv"> … … 66 66 clientSort="true"> 67 67 </span> 68 <div id="grid" dojoType="dojox. Grid" elasticView="2"68 <div id="grid" dojoType="dojox.grid.Grid" elasticView="2" 69 69 model="dataModel" structure="layoutMovies"> 70 70 </div> … … 79 79 query="{ name : '*' }"> 80 80 </span> 81 <div id="grid2" dojoType="dojox. Grid" elasticView="2"81 <div id="grid2" dojoType="dojox.grid.Grid" elasticView="2" 82 82 model="dataModel2" structure="layoutCountries"> 83 83 </div> -
dojox/branches/grid-reorganize/grid/tests/test_dojo_data_model_multiStores.html
r12038 r12114 2 2 <html> 3 3 <head> 4 <title>dojox. Grid with Dojo.Data via binding. Multiple Store implementations.</title>4 <title>dojox.grid.Grid with Dojo.Data via binding. Multiple Store implementations.</title> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> 6 6 <style type="text/css"> … … 8 8 @import "../../../dojo/resources/dojo.css"; 9 9 @import "../../../dijit/tests/css/dijitTests.css"; 10 @import "../ _grid/tundraGrid.css";10 @import "../resources/tundraGrid.css"; 11 11 12 12 #grid, #grid2, #grid3, #grid4, #grid5, #grid6{ … … 47 47 var layoutMovies = [ 48 48 // view 0 49 { type: 'dojox. GridRowView', width: '20px' },49 { type: 'dojox.grid.GridRowView', width: '20px' }, 50 50 // view 1 51 51 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 60 60 var layoutCountries = [ 61 61 // view 0 62 { type: 'dojox. GridRowView', width: '20px' },62 { type: 'dojox.grid.GridRowView', width: '20px' }, 63 63 // view 1 64 64 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 72 72 var layoutBooks = [ 73 73 // view 0 74 { type: 'dojox. GridRowView', width: '20px' },74 { type: 'dojox.grid.GridRowView', width: '20px' }, 75 75 // view 1 76 76 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 86 86 var layoutFlickrData = [ 87 87 // view 0 88 { type: 'dojox. GridRowView', width: '20px' },88 { type: 'dojox.grid.GridRowView', width: '20px' }, 89 89 // view 1 90 90 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 98 98 var layoutOpmlData = [ 99 99 // view 0 100 { type: 'dojox. GridRowView', width: '20px' },100 { type: 'dojox.grid.GridRowView', width: '20px' }, 101 101 // view 1 102 102 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 110 110 var layoutHtmlTable = [ 111 111 // view 0 112 { type: 'dojox. GridRowView', width: '20px' },112 { type: 'dojox.grid.GridRowView', width: '20px' }, 113 113 // view 1 114 114 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 124 124 </head> 125 125 <body class="tundra"> 126 <h1>dojox. Grid using Dojo.Data stores via simple binding with multiple store implementations.</h1>126 <h1>dojox.grid.Grid using Dojo.Data stores via simple binding with multiple store implementations.</h1> 127 127 <p> 128 128 This page demonstrates the Grid can display data accessed by dojo.data implementing Datastores. … … 160 160 query="{ name : '*' }"> 161 161 </span> 162 <div id="grid" dojoType="dojox. Grid" elasticView="2"162 <div id="grid" dojoType="dojox.grid.Grid" elasticView="2" 163 163 model="dataModel" structure="layoutCountries"> 164 164 </div> … … 177 177 clientSort="true"> 178 178 </span> 179 <div id="grid2" dojoType="dojox. Grid" elasticView="2"179 <div id="grid2" dojoType="dojox.grid.Grid" elasticView="2" 180 180 model="dataModel2" structure="layoutMovies"> 181 181 … … 193 193 query="{ title : '*' }"> 194 194 </span> 195 <div id="grid3" dojoType="dojox. Grid" elasticView="2"195 <div id="grid3" dojoType="dojox.grid.Grid" elasticView="2" 196 196 model="dataModel3" structure="layoutBooks"> 197 197 </div> … … 209 209 query="{ tags : '3dny' }"> 210 210 </span> 211 <div id="grid4" dojoType="dojox. Grid" elasticView="2"211 <div id="grid4" dojoType="dojox.grid.Grid" elasticView="2" 212 212 model="dataModel4" structure="layoutFlickrData"> 213 213 </div> … … 227 227 sortFields="[ { attribute : 'text' } ]"> 228 228 </span> 229 <div id="grid5" dojoType="dojox. Grid" elasticView="2"229 <div id="grid5" dojoType="dojox.grid.Grid" elasticView="2" 230 230 model="dataModel5" structure="layoutOpmlData"> 231 231 </div> … … 243 243 query="{}"> 244 244 </span> 245 <div id="grid6" dojoType="dojox. Grid" elasticView="2"245 <div id="grid6" dojoType="dojox.grid.Grid" elasticView="2" 246 246 model="dataModel6" structure="layoutHtmlTable"> 247 247 </div> -
dojox/branches/grid-reorganize/grid/tests/test_dojo_data_model_processError.html
r12038 r12114 2 2 <html> 3 3 <head> 4 <title>dojox. Grid with Dojo.Data model with trapping of data store errors.</title>4 <title>dojox.grid.Grid with Dojo.Data model with trapping of data store errors.</title> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> 6 6 <style type="text/css"> … … 8 8 @import "../../../dojo/resources/dojo.css"; 9 9 @import "../../../dijit/tests/css/dijitTests.css"; 10 @import "../ _grid/tundraGrid.css";10 @import "../resources/tundraGrid.css"; 11 11 12 12 #grid{ … … 37 37 </head> 38 38 <body class="tundra"> 39 <h1>dojox. Grid using Dojo.Data stores via simple binding</h1>39 <h1>dojox.grid.Grid using Dojo.Data stores via simple binding</h1> 40 40 41 41 <h2>dojox.data.CsvStore:</h2>. … … 58 58 </script> 59 59 </span> 60 <div id="grid" dojoType="dojox. Grid" elasticView="2"60 <div id="grid" dojoType="dojox.grid.Grid" elasticView="2" 61 61 model="dataModel" structure="layoutMovies"> 62 62 </div> -
dojox/branches/grid-reorganize/grid/tests/test_dojo_data_notification.html
r11375 r12114 3 3 <html> 4 4 <head> 5 <title>dojox. Grid with Dojo.Data via binding</title>5 <title>dojox.grid.Grid with Dojo.Data via binding</title> 6 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> 7 7 <style type="text/css"> 8 @import "../ _grid/tundraGrid.css";8 @import "../resources/tundraGrid.css"; 9 9 @import "../../../dojo/resources/dojo.css"; 10 10 @import "../../../dijit/themes/tundra/tundra.css"; … … 35 35 var layoutMovies = [ 36 36 // view 0 37 { type: 'dojox. GridRowView', width: '20px' },37 { type: 'dojox.grid.GridRowView', width: '20px' }, 38 38 // view 1 39 39 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 48 48 var layoutCountries = [ 49 49 // view 0 50 { type: 'dojox. GridRowView', width: '20px' },50 { type: 'dojox.grid.GridRowView', width: '20px' }, 51 51 // view 1 52 52 { cells: [[{ name: "Row", get: getRow, width: 5}]], noscroll: true}, … … 60 60 </head> 61 61 <body class="tundra"> 62 <h1>dojox. Grid using Dojo.Data stores via simple binding</h1>62 <h1>dojox.grid.Grid using Dojo.Data stores via simple binding</h1> 63 63 <!-- 64 64 <br> … … 73 73 clientSort="true"> 74 74 </span> 75 <div id="grid" dojoType="dojox. Grid" elasticView="2"75 <div id="grid" dojoType="dojox.grid.Grid" elasticView="2" 76 76 model="dataModel" structure="layoutMovies"> 77 77 </div> … … 106 106 query="{ name : '*' }"> 107 107 </span> 108 <div id="grid2" dojoType="dojox. Grid" elasticView="2"108 <div id="grid2" dojoType="dojox.grid.Grid" elasticView="2" 109 109 model="dataModel2" structure="layoutCountries"> 110 110 </div> 111 111 112 <div id="grid3" dojoType="dojox. Grid" elasticView="2"112 <div id="grid3" dojoType="dojox.grid.Grid" elasticView="2" 113 113 model="dataModel2" structure="layoutCountries"> 114 114 </div> -
dojox/branches/grid-reorganize/grid/tests/test_edit.html
r11375 r12114 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 5 <title>Test dojox. Grid Editing</title>5 <title>Test dojox.grid.Grid Editing</title> 6 6 <style> 7 @import "../ _grid/Grid.css";7 @import "../resources/Grid.css"; 8 8 body { 9 9 font-family: Tahoma, Arial, Helvetica, sans-serif; … … 98 98 statusCell = { field: 2, name: 'Status', styles: 'text-align: center;', editor: dojox.grid.editors.Select, options: [ "new", "read", "replied" ] }; 99 99 gridLayout = [{ 100 type: 'dojox. GridRowView', width: '20px'100 type: 'dojox.grid.GridRowView', width: '20px' 101 101 },{ 102 102 defaultCell: { width: 8, editor: dojox.grid.editors.Input, styles: 'text-align: right;' }, … … 129 129 <body> 130 130 <h2> 131 dojox. Grid Basic Editing test131 dojox.grid.Grid Basic Editing test 132 132 </h2> 133 133 <div id="controls"> … … 142 142 </div> 143 143 <br /> 144 <div id="grid" dojoType="dojox. Grid"144 <div id="grid" dojoType="dojox.grid.Grid" 145 145 jsId="grid" 146 146 model="model" structure="gridLayout"></div> -
dojox/branches/grid-reorganize/grid/tests/test_edit_dijit.html
- Property svn:eol-style set to native
r11537 r12114 4 4 <head> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <title>Test dojox. Grid Editing</title>6 <title>Test dojox.grid.Grid Editing</title> 7 7 <style type="text/css"> 8 @import "../ _grid/tundraGrid.css";8 @import "../resources/tundraGrid.css"; 9 9 @import "../../../dojo/resources/dojo.css"; 10 10 @import "../../../dijit/themes/tundra/tundra.css"; … … 81 81 82 82 gridLayout = [{ 83 type: 'dojox. GridRowView', width: '20px'83 type: 'dojox.grid.GridRowView', width: '20px' 84 84 },{ 85 85 defaultCell: { width: 8, editor: dojox.grid.editors.Input, styles: 'text-align: right;' }, … … 120 120 </head> 121 121 <body> 122 <h1>dojox. Grid Basic Editing test</h1>122 <h1>dojox.grid.Grid Basic Editing test</h1> 123 123 <br /> 124 124 <div id="controls"> … … 133 133 </div> 134 134 <br /> 135 <div id="grid" jsId="grid" dojoType="dojox. Grid" model="model" structure="gridLayout"></div>135 <div id="grid" jsId="grid" dojoType="dojox.grid.Grid" model="model" structure="gridLayout"></div> 136 136 <br /> 137 137 <div id="rowCount"></div> -
dojox/branches/grid-reorganize/grid/tests/test_events.html
r11257 r12114 2 2 <html> 3 3 <head> 4 <title>Test dojox. Grid Events</title>4 <title>Test dojox.grid.Grid Events</title> 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> 6 6 <style type="text/css"> 7 @import "../ _grid/Grid.css";7 @import "../resources/Grid.css"; 8 8 body,td,th {