PDA

View Full Version : Container Help



Gamer
24 Feb 2011, 12:09 PM
So I built this extension, Ext.ux.NumberOperatorsCombo. Now I want to put it inside of a new extension of a container. I am unsure where to put it to get it to show up inside my container.


buildItems: function buildItems(config) {
var orderCombo = new Ext.ux.NumberOperatorsCombo({
name: 'mycombo1',
fieldLabel: '',
allowBlank:false

});
config.items=[this.orderCombo]
},

onRender: function(ct, position){
Ext.ux.OrderIDContainer.superclass.onRender.call(this, ct, position);
},

I currently have it in the buildItems, but Im not sure if I should have it in the onRender or if I even wrote it in correctly. :-?
TestPage:
http://carterbillboards.com/ext-3.2.0/examples/ngamer/search_orders.html

Gamer
24 Feb 2011, 12:19 PM
nm figured it out