source: Dev/trunk/src/client/dojox/grid/tests/robot/stores.js

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

Added Dojo 1.9.3 release.

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1(function(){
2dojo.require("dojo.data.ItemFileWriteStore");
3structure1_store1_data = [];
4structure1_store2_data = [];
5structure1_store3_data = [];
6structure1_store4_data = [];
7for(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
25structure1_store1 = new dojo.data.ItemFileWriteStore({
26        data:{
27                identifier:"id",
28                items:structure1_store1_data
29        }
30});
31structure1_store2 = new dojo.data.ItemFileWriteStore({
32        data:{
33                identifier:"id",
34                items:structure1_store2_data
35        }
36});
37structure1_store3 = new dojo.data.ItemFileWriteStore({
38        data:{
39                identifier:"id",
40                items:structure1_store3_data
41        }
42});
43structure1_store4 = new dojo.data.ItemFileWriteStore({
44        data:{
45                identifier:"id",
46                items:structure1_store4_data
47        }
48});
49})();
Note: See TracBrowser for help on using the repository browser.