PDA

View Full Version : problem with status bar



fastwings
21 Aug 2009, 4:43 PM
i get this code

function buildContiner(formObj) {
FormBuilder.Category.AddStatusBar = Ext.extend(Ext.Panel, {
initComponent: function() {
Ext.apply(this, {
items:formObj,
bbar: new Ext.StatusBar({
id: 'form-statusbar',
defaultText: 'Ready',
plugins: new Ext.ux.ValidationStatus({ form: 'formGen' })
})
});
FormBuilder.Category.AddStatusBar.initComponent.apply(this, arguments);
}
});
return new FormBuilder.Category.AddStatusBar();
}
i get this error
Ext.StatusBar is not a constructor
how i can fix at?

jarlau
21 Aug 2009, 5:25 PM
did you try to search why?

http://extjs.com/forum/showthread.php?t=67897#2

StatusBar was removed and it's in ux now.

fastwings
22 Aug 2009, 12:10 AM
what u recommend use to replace at