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({});
112 title : "Title Nest Center",
114 xns: Roo.bootstrap.panel,
119 xns: Roo.bootstrap.layout,
122 xns: Roo.bootstrap.layout,
133 xns: Roo.bootstrap.layout,
139 xns: Roo.bootstrap.layout,
144 // collapsible: true,
152 xns: Roo.bootstrap.panel,
155 html : 'some body south'
159 xns: Roo.bootstrap.panel,
162 html : 'some body center'
167 xns: Roo.bootstrap.panel,
168 title : "Title west a" ,
172 html : 'some body west'
177 xns: Roo.bootstrap.panel,
183 activate : function()
185 // this.grid.store.load.defer(100, this.grid.store);
186 this.grid.footer.onClick('first');
190 xtype: 'NavSimplebar',
208 placeholder: 'a text input'
224 xtype : 'PagingToolbar',
227 '|xns' : 'Roo.bootstrap'
235 xtype : 'MemoryProxy',
237 ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
238 ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
239 ['Altria Group Inc',83.81,0.28,0.34,'9/1 12:00am'],
240 ['American Express Company',52.55,0.01,0.02,'9/1 12:00am'],
241 ['American International Group, Inc.',64.13,0.31,0.49,'9/1 12:00am'],
242 ['AT&T Inc.',31.61,-0.48,-1.54,'9/1 12:00am'],
243 ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
244 ['Caterpillar Inc.',67.27,0.92,1.39,'9/1 12:00am'],
245 ['Citigroup, Inc.',49.37,0.02,0.04,'9/1 12:00am'],
246 ['E.I. du Pont de Nemours and Company',40.48,0.51,1.28,'9/1 12:00am'],
247 ['Exxon Mobil Corp',68.1,-0.43,-0.64,'9/1 12:00am'],
248 ['General Electric Company',34.14,-0.08,-0.23,'9/1 12:00am'],
249 ['General Motors Corporation',30.27,1.09,3.74,'9/1 12:00am'],
250 ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am']
256 xtype : 'ArrayReader',
259 {name: 'price', type: 'float'},
260 {name: 'change', type: 'float'},
261 {name: 'pctChange', type: 'float'},
262 {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
274 dataIndex: 'company',
276 xtype : 'ColumnModel'
282 renderer: Roo.util.Format.usMoney,
285 xtype : 'ColumnModel'
303 xns: Roo.bootstrap.panel,
304 title : "Title Center",
309 html : 'some body center'
319 Roo.onReady(function() {
320 Roo.XComponent.is_alt = true;
321 Roo.XComponent.build();
322 //dRoo.bootstrap.Tooltip.init();