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,
40 xns: Roo.bootstrap.layout,
50 xns: Roo.bootstrap.panel,
51 title : "Title north" ,
58 position : 'static-top',
59 xtype : 'NavHeaderbar',
64 cls : 'navbar-btn sidebar-toggle',
67 html : '<span class=\"icon-bar\"></span><span class=\"icon-bar\"></span><span class=\"icon-bar\"></span>'
92 // Example.NestedDialog.show({});
121 title : "Title Nest Center",
123 xns: Roo.bootstrap.panel,
128 xns: Roo.bootstrap.layout,
131 xns: Roo.bootstrap.layout,
139 tabPosition : 'bottom'
143 xns: Roo.bootstrap.layout,
150 xns: Roo.bootstrap.layout,
155 // collapsible: true,
163 xns: Roo.bootstrap.panel,
164 title : "South Tab 1",
166 html : 'some body south'
170 xns: Roo.bootstrap.panel,
171 title : "South Tab 2",
174 html : 'some body south'
178 xns: Roo.bootstrap.panel,
181 html : 'some body center'
185 xns: Roo.bootstrap.panel,
186 title : "the body 2",
188 html : 'some body center 2 '
193 xns: Roo.bootstrap.panel,
194 title : "Title west a" ,
198 html : 'some body west'
203 xns: Roo.bootstrap.panel,
209 activate : function()
211 // this.grid.store.load.defer(100, this.grid.store);
212 this.grid.footer.onClick('first');
216 xtype: 'NavSimplebar',
234 placeholder: 'a text input'
250 xtype : 'PagingToolbar',
253 '|xns' : 'Roo.bootstrap'
261 xtype : 'MemoryProxy',
263 ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
264 ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
265 ['Altria Group Inc',83.81,0.28,0.34,'9/1 12:00am'],
266 ['American Express Company',52.55,0.01,0.02,'9/1 12:00am'],
267 ['American International Group, Inc.',64.13,0.31,0.49,'9/1 12:00am'],
268 ['AT&T Inc.',31.61,-0.48,-1.54,'9/1 12:00am'],
269 ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
270 ['Caterpillar Inc.',67.27,0.92,1.39,'9/1 12:00am'],
271 ['Citigroup, Inc.',49.37,0.02,0.04,'9/1 12:00am'],
272 ['E.I. du Pont de Nemours and Company',40.48,0.51,1.28,'9/1 12:00am'],
273 ['Exxon Mobil Corp',68.1,-0.43,-0.64,'9/1 12:00am'],
274 ['General Electric Company',34.14,-0.08,-0.23,'9/1 12:00am'],
275 ['General Motors Corporation',30.27,1.09,3.74,'9/1 12:00am'],
276 ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am']
282 xtype : 'ArrayReader',
285 {name: 'price', type: 'float'},
286 {name: 'change', type: 'float'},
287 {name: 'pctChange', type: 'float'},
288 {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
300 dataIndex: 'company',
302 xtype : 'ColumnModel'
308 renderer: Roo.util.Format.usMoney,
311 xtype : 'ColumnModel'
329 xns: Roo.bootstrap.panel,
330 title : "Title Center",
335 html : 'some body center'
345 Roo.onReady(function() {
346 Roo.XComponent.is_alt = true;
347 Roo.XComponent.build();
348 //dRoo.bootstrap.Tooltip.init();