2 Roo.namespace("Example");
4 Example.Nested = new Roo.XComponent({
5 part : ["example", "nested" ],
6 order : '001-Example-Nested',
9 name : "unnamed module",
19 xns : Roo.bootstrap.layout,
20 el : document.body, // border layout can be applied to the outer one...
23 xns: Roo.bootstrap.layout,
34 xns: Roo.bootstrap.layout,
43 xns: Roo.bootstrap.layout,
51 xns: Roo.bootstrap.panel,
52 title : "Title north" ,
59 position : 'static-top',
60 xtype : 'NavHeaderbar',
65 cls : 'navbar-btn sidebar-toggle',
68 html : '<span class=\"icon-bar\"></span><span class=\"icon-bar\"></span><span class=\"icon-bar\"></span>'
93 // Example.NestedDialog.show({});
119 xns: Roo.bootstrap.panel,
120 title : "Title west a" ,
124 html : 'some body west'
129 xns: Roo.bootstrap.panel,
135 activate : function()
137 // this.grid.store.load.defer(100, this.grid.store);
138 this.grid.footer.onClick('first');
142 xtype: 'NavSimplebar',
160 placeholder: 'a text input'
176 xtype : 'PagingToolbar',
179 '|xns' : 'Roo.bootstrap'
187 xtype : 'MemoryProxy',
189 ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
190 ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
191 ['Altria Group Inc',83.81,0.28,0.34,'9/1 12:00am'],
192 ['American Express Company',52.55,0.01,0.02,'9/1 12:00am'],
193 ['American International Group, Inc.',64.13,0.31,0.49,'9/1 12:00am'],
194 ['AT&T Inc.',31.61,-0.48,-1.54,'9/1 12:00am'],
195 ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
196 ['Caterpillar Inc.',67.27,0.92,1.39,'9/1 12:00am'],
197 ['Citigroup, Inc.',49.37,0.02,0.04,'9/1 12:00am'],
198 ['E.I. du Pont de Nemours and Company',40.48,0.51,1.28,'9/1 12:00am'],
199 ['Exxon Mobil Corp',68.1,-0.43,-0.64,'9/1 12:00am'],
200 ['General Electric Company',34.14,-0.08,-0.23,'9/1 12:00am'],
201 ['General Motors Corporation',30.27,1.09,3.74,'9/1 12:00am'],
202 ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am']
208 xtype : 'ArrayReader',
211 {name: 'price', type: 'float'},
212 {name: 'change', type: 'float'},
213 {name: 'pctChange', type: 'float'},
214 {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
226 dataIndex: 'company',
228 xtype : 'ColumnModel'
234 renderer: Roo.util.Format.usMoney,
237 xtype : 'ColumnModel'
247 xns: Roo.bootstrap.panel,
248 title : "Title Center",
252 html : 'some body center'
258 title : "Title Nest Center",
260 xns: Roo.bootstrap.panel,
265 xns: Roo.bootstrap.layout,
268 xns: Roo.bootstrap.layout,
279 xns: Roo.bootstrap.layout,
285 xns: Roo.bootstrap.panel,
288 html : 'some body south'
292 xns: Roo.bootstrap.panel,
295 html : 'some body center'
309 Roo.onReady(function() {
310 Roo.XComponent.is_alt = true;
311 Roo.XComponent.build();
312 //dRoo.bootstrap.Tooltip.init();