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 west" ,
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" ,
124 html : 'some body west'
129 xns: Roo.bootstrap.panel,
135 activate : function()
137 this.grid.store.load.defer(100, this.grid.store);
141 xtype: 'NavSimplebar',
157 placeholder: 'a text input'
173 xtype : 'PagingToolbar',
176 '|xns' : 'Roo.bootstrap'
184 xtype : 'MemoryProxy',
186 ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
187 ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
188 ['Altria Group Inc',83.81,0.28,0.34,'9/1 12:00am'],
189 ['American Express Company',52.55,0.01,0.02,'9/1 12:00am'],
190 ['American International Group, Inc.',64.13,0.31,0.49,'9/1 12:00am'],
191 ['AT&T Inc.',31.61,-0.48,-1.54,'9/1 12:00am'],
192 ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
193 ['Caterpillar Inc.',67.27,0.92,1.39,'9/1 12:00am'],
194 ['Citigroup, Inc.',49.37,0.02,0.04,'9/1 12:00am'],
195 ['E.I. du Pont de Nemours and Company',40.48,0.51,1.28,'9/1 12:00am'],
196 ['Exxon Mobil Corp',68.1,-0.43,-0.64,'9/1 12:00am'],
197 ['General Electric Company',34.14,-0.08,-0.23,'9/1 12:00am'],
198 ['General Motors Corporation',30.27,1.09,3.74,'9/1 12:00am'],
199 ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am']
205 xtype : 'ArrayReader',
208 {name: 'price', type: 'float'},
209 {name: 'change', type: 'float'},
210 {name: 'pctChange', type: 'float'},
211 {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
223 dataIndex: 'company',
225 xtype : 'ColumnModel'
231 renderer: Roo.util.Format.usMoney,
234 xtype : 'ColumnModel'
244 xns: Roo.bootstrap.panel,
245 title : "Title Center",
249 html : 'some body center'
255 title : "Title Nest Center",
257 xns: Roo.bootstrap.panel,
262 xns: Roo.bootstrap.layout,
265 xns: Roo.bootstrap.layout,
276 xns: Roo.bootstrap.layout,
282 xns: Roo.bootstrap.panel,
285 html : 'some body south'
289 xns: Roo.bootstrap.panel,
292 html : 'some body center'
306 Roo.onReady(function() {
307 Roo.XComponent.is_alt = true;
308 Roo.XComponent.build();
309 //dRoo.bootstrap.Tooltip.init();