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');
154 placeholder: 'a text input'
170 xtype : 'PagingToolbar',
173 '|xns' : 'Roo.bootstrap'
181 xtype : 'MemoryProxy',
183 ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
184 ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
185 ['Altria Group Inc',83.81,0.28,0.34,'9/1 12:00am'],
186 ['American Express Company',52.55,0.01,0.02,'9/1 12:00am'],
187 ['American International Group, Inc.',64.13,0.31,0.49,'9/1 12:00am'],
188 ['AT&T Inc.',31.61,-0.48,-1.54,'9/1 12:00am'],
189 ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
190 ['Caterpillar Inc.',67.27,0.92,1.39,'9/1 12:00am'],
191 ['Citigroup, Inc.',49.37,0.02,0.04,'9/1 12:00am'],
192 ['E.I. du Pont de Nemours and Company',40.48,0.51,1.28,'9/1 12:00am'],
193 ['Exxon Mobil Corp',68.1,-0.43,-0.64,'9/1 12:00am'],
194 ['General Electric Company',34.14,-0.08,-0.23,'9/1 12:00am'],
195 ['General Motors Corporation',30.27,1.09,3.74,'9/1 12:00am'],
196 ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am']
202 xtype : 'ArrayReader',
205 {name: 'price', type: 'float'},
206 {name: 'change', type: 'float'},
207 {name: 'pctChange', type: 'float'},
208 {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
220 dataIndex: 'company',
222 xtype : 'ColumnModel'
228 renderer: Roo.util.Format.usMoney,
231 xtype : 'ColumnModel'
241 xns: Roo.bootstrap.panel,
242 title : "Title Center",
246 html : 'some body center'
252 title : "Title Nest Center",
254 xns: Roo.bootstrap.panel,
259 xns: Roo.bootstrap.layout,
262 xns: Roo.bootstrap.layout,
273 xns: Roo.bootstrap.layout,
279 xns: Roo.bootstrap.panel,
282 html : 'some body south'
286 xns: Roo.bootstrap.panel,
289 html : 'some body center'
303 Roo.onReady(function() {
304 Roo.XComponent.is_alt = true;
305 Roo.XComponent.build();
306 //dRoo.bootstrap.Tooltip.init();