Debian Codegraph @

dojox/grid/tests/robot/stores.js

raw symbols SCIP
1 (function(){
2 dojo.require("dojo.data.ItemFileWriteStore");
3 structure1_store1_data = [];
4 structure1_store2_data = [];
5 structure1_store3_data = [];
6 structure1_store4_data = [];
7 for(var i=0; i<100; i++){
8 var item = {
9 id: i,
10 col1: 'normal',
11 col2: false,
12 col3: 'new',
13 col4: 'Now is the time for all good men to come to the aid of their party.',
14 col5: 99.99,
15 col6: 9.99,
16 col7: false,
17 col8: new Date()
18 };
19 structure1_store1_data.push(dojo.mixin({},item));
20 structure1_store2_data.push(dojo.mixin({},item));
21 structure1_store3_data.push(dojo.mixin({},item));
22 structure1_store4_data.push(dojo.mixin({},item));
23 }
24 //TODO: populate data
25 structure1_store1 = new dojo.data.ItemFileWriteStore({
26 data:{
27 identifier:"id",
28 items:structure1_store1_data
29 }
30 });
31 structure1_store2 = new dojo.data.ItemFileWriteStore({
32 data:{
33 identifier:"id",
34 items:structure1_store2_data
35 }
36 });
37 structure1_store3 = new dojo.data.ItemFileWriteStore({
38 data:{
39 identifier:"id",
40 items:structure1_store3_data
41 }
42 });
43 structure1_store4 = new dojo.data.ItemFileWriteStore({
44 data:{
45 identifier:"id",
46 items:structure1_store4_data
47 }
48 });
49 })();