-
5 Oct 2010 10:25 PM #1
custom xtype
custom xtype
is it possible to add a custom xtype.
any samples/ or previous post?
-
5 Oct 2010 11:54 PM #2
after you can use mypanel on xtypeCode:var MyPanel = Ext.extend(Ext.Panel, { title: 'My Panel' }); Ext.reg('mypanel', MyPanel);
Code:... items: [{ xtype: 'mypanel' }]...
-
6 Oct 2010 1:24 AM #3
-
6 Oct 2010 6:50 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,599
- Vote Rating
- 435
There are two really... one for a component (extension or new) and one for a plug-in.
Ext.reg is for a component
Ext.preg is for a plug-in
The about example will work with both just change to preg if a plug-in.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Similar Threads
-
ERROR in Getting Value From Custom Xtype
By utpal_brsh in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 2 Jul 2010, 11:49 PM -
Portal + Custom Grids by XType
By KimSchneider in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 9 Feb 2010, 1:43 AM -
difference between xtype and custom class... why??
By tarini in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 21 Jan 2009, 5:13 AM -
FormPanel - custom xtype ???
By archmisha in forum Ext 2.x: Help & DiscussionReplies: 9Last Post: 20 Oct 2008, 9:18 AM -
xtype:'textarea', to xtype:'htmleditor' problem
By putty in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 2 Jul 2008, 11:11 PM


Reply With Quote