Results 1 to 3 of 3

Thread: Ext.ux.gp.Menu

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    Brescia - Italy
    Posts
    102
    Vote Rating
    4
      0  

    Default Ext.ux.gp.Menu

    I have published in GitHub a new component. It can show a menu sized by items count.
    I hope it is useful.

    GitHub link: https://github.com/faustopracek/Ext.ux.gp.Menu

    menu1.jpg

    menu2.jpg

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Vote Rating
    1367
      0  

    Default

    Couple suggestions...

    Have you tried using Sheet or ActionSheet?

    Also, I see you repeating method calls like menuList.getStore()... you should cache the store onto the variable so you only do one function execution to get the store. Also on() can take an object:

    Code:
    store.on({
        scope : this,
        load  : '_storeChanged'
    });
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Location
    Brescia - Italy
    Posts
    102
    Vote Rating
    4
      0  

    Default

    Thanks for your help about how I can optimize my code!
    About ActionSheet I think it is not the same, because it is possible show my menu also like a button menu using showBy...

    Thanks again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •