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...
24 xns: Roo.bootstrap.layout,
33 xns: Roo.bootstrap.layout,
41 xns: Roo.bootstrap.panel,
42 title : "Title north" ,
49 position : 'static-top',
50 xtype : 'NavHeaderbar',
55 cls : 'navbar-btn sidebar-toggle',
58 html : '<span class=\"icon-bar\"></span><span class=\"icon-bar\"></span><span class=\"icon-bar\"></span>'
83 // Example.NestedDialog.show({});
110 xns: Roo.bootstrap.panel,
111 title : "Title Center",
115 html : 'some body center'
121 title : "Title Nest Center",
123 xns: Roo.bootstrap.panel,
128 xns: Roo.bootstrap.layout,
131 xns: Roo.bootstrap.layout,
142 xns: Roo.bootstrap.layout,
148 xns: Roo.bootstrap.layout,
153 // collapsible: true,
161 xns: Roo.bootstrap.panel,
164 html : 'some body south'
168 xns: Roo.bootstrap.panel,
171 html : 'some body center'
176 xns: Roo.bootstrap.panel,
177 title : "Title west a" ,
181 html : 'some body west'
186 xns: Roo.bootstrap.panel,
192 activate : function()
194 // this.grid.store.load.defer(100, this.grid.store);
195 this.grid.footer.onClick('first');
199 xtype: 'NavSimplebar',
217 placeholder: 'a text input'
233 xtype : 'PagingToolbar',
236 '|xns' : 'Roo.bootstrap'
244 xtype : 'MemoryProxy',
246 ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
247 ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
248 ['Altria Group Inc',83.81,0.28,0.34,'9/1 12:00am'],
249 ['American Express Company',52.55,0.01,0.02,'9/1 12:00am'],
250 ['American International Group, Inc.',64.13,0.31,0.49,'9/1 12:00am'],
251 ['AT&T Inc.',31.61,-0.48,-1.54,'9/1 12:00am'],
252 ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
253 ['Caterpillar Inc.',67.27,0.92,1.39,'9/1 12:00am'],
254 ['Citigroup, Inc.',49.37,0.02,0.04,'9/1 12:00am'],
255 ['E.I. du Pont de Nemours and Company',40.48,0.51,1.28,'9/1 12:00am'],
256 ['Exxon Mobil Corp',68.1,-0.43,-0.64,'9/1 12:00am'],
257 ['General Electric Company',34.14,-0.08,-0.23,'9/1 12:00am'],
258 ['General Motors Corporation',30.27,1.09,3.74,'9/1 12:00am'],
259 ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am']
265 xtype : 'ArrayReader',
268 {name: 'price', type: 'float'},
269 {name: 'change', type: 'float'},
270 {name: 'pctChange', type: 'float'},
271 {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
283 dataIndex: 'company',
285 xtype : 'ColumnModel'
291 renderer: Roo.util.Format.usMoney,
294 xtype : 'ColumnModel'
316 Roo.onReady(function() {
317 Roo.XComponent.is_alt = true;
318 Roo.XComponent.build();
319 //dRoo.bootstrap.Tooltip.init();