-
4 May 2011 8:52 AM #1
Ext.ux.menu.DynamicMenu for ExtJS 4.0
Ext.ux.menu.DynamicMenu for ExtJS 4.0
Hello everyone,
I have converted the DynamicMenu from ExtJS 3.0 to 4.0 now and have provided an MVC example. You can see the demo and download the code from here:
Dynamic Menu Example
Preview: DynamicMenuPreview.png
-
10 May 2011 7:00 PM #2Sencha - Sales Team
- Join Date
- Mar 2007
- Location
- Melbourne, Australia (aka GMT+10)
- Posts
- 738
- Vote Rating
- 6
sweet. just the ticket.
Check out SenchaWorld.com for articles, screencasts, conference videos and more.
Sencha Technical Training : Asia Pacific Region
Code Validation : JSLint | JSONLint | JSONPLint
-
30 May 2011 6:49 AM #3
Could you show me an exmple of three (3) levels of DynamicMenu ? Like m1-> m11 -> m111
Thanks.
-
31 May 2011 8:19 AM #4
foxmarco,
I will work on an example for you. If there is an issue with getting it to work, I will make an update to make sure it works correctly.
Sincerely,
SMMJ_DevExtJS 4.0 - Ext.ux.grid.FooterSummary (Coming Soon)
ExtJS 4.0 - Ext.ux.form.field.IPhoneSwitch (Coming Soon)
ExtJS 4.0 - Ext.ux.grid.HeaderFilter (Updates Coming Soon)
ExtJS 4.0 - Ext.ux.menu.DynamicMenu
ExtJS 4.0 - Ext.ux.form.field.ClearableCombo
ExtJS 4.0 - Ext.ux.form.field.FormPanelEditor
ExtJS 4.0 - Grouping Extra Features (Overrides) (Updates Coming Soon)
-
6 Jun 2011 12:38 AM #5
Hi,
do you finish to write a complete example of DynamicMenu with many menus and submenus?
Thanks a lot. M.
-
23 Jul 2011 8:02 PM #6
submenu's
submenu's
Thanks foxmarco, there was a problem with my code when doing submenus. I have updated the DynamicMenu.js and the json to handle submenus.
The example is just 1 submenu, but you should be able to repeat for multiple submenus and it should work.ExtJS 4.0 - Ext.ux.grid.FooterSummary (Coming Soon)
ExtJS 4.0 - Ext.ux.form.field.IPhoneSwitch (Coming Soon)
ExtJS 4.0 - Ext.ux.grid.HeaderFilter (Updates Coming Soon)
ExtJS 4.0 - Ext.ux.menu.DynamicMenu
ExtJS 4.0 - Ext.ux.form.field.ClearableCombo
ExtJS 4.0 - Ext.ux.form.field.FormPanelEditor
ExtJS 4.0 - Grouping Extra Features (Overrides) (Updates Coming Soon)
-
31 Jul 2011 9:53 AM #7
hi currently i am using 3.2 menu its working fine .the same menu is not working in extjs 4.0 can u help rewrite the below code for extjs 4.0
Ext.onReady(function() {
new Ext.ux.Menu('hmenu', {
transitionType: 'slide',
direction: 'horizontal', // default
delay: 0.2, // default
autoWidth: true, // default
transitionDuration: 0.1, // default
animate: true, // default
currentClass: 'current' // default
});
});
Thanks in Advance...
-
31 Jul 2011 9:58 AM #8
Menu is not working in Extjs 4.0 where its working in Extjs 3.2
Menu is not working in Extjs 4.0 where its working in Extjs 3.2
hi currently i am using 3.2 menu its working fine .the same menu is not working in extjs 4.0 can u rewrite the below code for extjs 4.0
Ext.onReady(function() {
new Ext.ux.Menu('hmenu', {
transitionType: 'slide',
direction: 'horizontal', // default
delay: 0.2, // default
autoWidth: true, // default
transitionDuration: 0.1, // default
animate: true, // default
currentClass: 'current' // default
});
});
Thanks in Advance...
-
31 Jul 2011 2:02 PM #9
The extension above is a different type of menu extension. This is definitely why it is not working with the DynamicMenu extension for ExtJS 4.0. The above extension creates their menu items using html lists. The DynamicMenu extension uses the regular ExtJS 4.0 menu. There is nothing different in it's structure.
In order to get a horizontal menu, you might be able to use the regular ExtJS 4.0 menu and give it a layout config:
In order to control the transition you may have to use a mixin or plugin to control the animation. You may need to even rewrite the old extension to use the new ExtJS 4 animation settings.Code:layout:{type:'hbox',align:'left'}
I haven't messed with animations/transitions, so I don't know about that. Perhaps someone else could help you out there.Code:new Ext.fx.Anim({ target: myComponent, duration: 1000, from: { width: 400 //starting width 400 }, to: { width: 300, //end width 300 height: 300 // end width 300 } });
Maybe the guy who created the extension in ExtJS3 (http://www.sencha.com/forum/showthre...transitionType), could help you out by upgrading his extension.
That's the best I can do. I don't really have much time to build new extensions. I only update the ones that I work with and need for work.ExtJS 4.0 - Ext.ux.grid.FooterSummary (Coming Soon)
ExtJS 4.0 - Ext.ux.form.field.IPhoneSwitch (Coming Soon)
ExtJS 4.0 - Ext.ux.grid.HeaderFilter (Updates Coming Soon)
ExtJS 4.0 - Ext.ux.menu.DynamicMenu
ExtJS 4.0 - Ext.ux.form.field.ClearableCombo
ExtJS 4.0 - Ext.ux.form.field.FormPanelEditor
ExtJS 4.0 - Grouping Extra Features (Overrides) (Updates Coming Soon)
-
5 Jan 2012 5:26 PM #10
handler
handler
How i can send the handler function from my php file?
Similar Threads
-
ExtJS Context Menu id
By purlogic in forum Ext 3.x: BugsReplies: 0Last Post: 31 Mar 2011, 3:56 PM -
context menu in extjs
By amrish in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 21 Aug 2009, 3:09 AM -
Errors in : gxt-2.0-M3.jar!/com/extjs/gxt/ui/client/widget/menu/Menu.java
By jamelboubaker in forum Ext GWT: DiscussionReplies: 4Last Post: 30 Jun 2009, 3:45 AM -
menu example comes with extjs relase 2.2.1
By hjshi in forum Ext 2.x: Help & DiscussionReplies: 6Last Post: 8 May 2009, 10:20 PM -
YUI like menu with ExtJS
By thameema in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 27 Feb 2008, 2:12 PM


Reply With Quote



