1. #31
    Sencha User IT100's Avatar
    Join Date
    Jun 2008
    Location
    Oostende, Belgium
    Posts
    72
    Vote Rating
    0
    IT100 is on a distinguished road

      0  

    Thumbs up groupingview question

    groupingview question


    If I view correctly:

    Ext.ux.grid.GridViewMenuPlugin at google-code

    shows a screenshot of a groupingview... but i can't seem to find the complete example... does it use the livegrid code? As I would love to use your code for my groupingview...

    btw: Very nice & impressive work Mindmatters..


    Regards,
    Chris.

  2. #32
    Sencha User ThorstenSuckow's Avatar
    Join Date
    Sep 2007
    Location
    Aachen, Germany
    Posts
    597
    Vote Rating
    2
    ThorstenSuckow is on a distinguished road

      0  

    Default


    Quote Originally Posted by IT100 View Post
    If I view correctly:

    Ext.ux.grid.GridViewMenuPlugin at google-code

    shows a screenshot of a groupingview... but i can't seem to find the complete example... does it use the livegrid code? As I would love to use your code for my groupingview...

    btw: Very nice & impressive work Mindmatters..


    Regards,
    Chris.

    Hi Chris,

    the grid in the screenshot does indeed use a GroupingView, but it's not build upon the livegrid (though it does work with the livegrid, as I'm using it as a plugin for a livegrid-driven component myself). If you do not need the "grouping"-options in your menu, then yes, you can use the plugin by simply adding it to your "plugins" configuration property. Somewhere on the first page should be a source code example posted by another user.

    Considering the feedback the plugin received, the next release ("mystix" milestone ) will be more flexible and I'm currently looking into adapting some controls for grouping functionality. The next release is scheduled for the beginning of next week.

    HTH

    Thorsten

  3. #33
    Sencha User IT100's Avatar
    Join Date
    Jun 2008
    Location
    Oostende, Belgium
    Posts
    72
    Vote Rating
    0
    IT100 is on a distinguished road

      0  

    Default grouping view functionality

    grouping view functionality


    Great! I'll be looking forward to see a working update. (and will licence it)

    Keep up the good work & the coffee flowing

    regards,
    Chris.

  4. #34
    Sencha User ThorstenSuckow's Avatar
    Join Date
    Sep 2007
    Location
    Aachen, Germany
    Posts
    597
    Vote Rating
    2
    ThorstenSuckow is on a distinguished road

      0  

    Default


    Quote Originally Posted by IT100 View Post
    Great! I'll be looking forward to see a working update. (and will licence it)

    Keep up the good work & the coffee flowing

    regards,
    Chris.
    Hi Chris,

    no need to license it - the Ext.ux.grid.GridViewMenuPlugin is published under the LGPL and should be fully compliant with the Ext JS license & their FLOSS exceptions!

    Waiting for lunch, the coffee maker is on the hold

  5. #35
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    just a heads up -- menu.css has been updated in SVN, so the _beforeColMenuShow() code needs to be altered slightly, like so:
    Code:
        _beforeColMenuShow : function(menu) {
            this._view.beforeColMenuShow.call(this, menu);
    
            // menu title tweak
            this.colMenu.insert(0, new Ext.menu.Separator());
            this.colMenu.insert(0, new Ext.menu.TextItem({
                text: String.format(
                    '<img src="{0}" class="x-menu-item-icon x-cols-icon" />{1}',
                    Ext.BLANK_IMAGE_URL,
                    this._view.columnsText
                ),
                style: 'line-height:16px;padding:3px 21px 3px 27px;'
            }));
        }

  6. #36
    Sencha User
    Join Date
    May 2007
    Location
    Germany
    Posts
    73
    Vote Rating
    1
    AlxH is on a distinguished road

      0  

    Default


    >Secondly, why do you completely disallow enableHdMenu:true? I think you should only >disallow enableColumnHide:true.

    Again, it's by design. As stated above, there is only either/or: Use the default hdMenu, or use the plugin to use the original-hdmenu in the upper right of the grid.[/quote]

    Hello MindPatterns,

    I would like to have both menus, too! If theres technically and logically nothing to say against it, why would you want to prevent it?
    It would be useful for example when you have other plugins like columnfilters in hd-menu of columns and this plugin for column-show/hide menu on the right.

  7. #37
    Sencha User ThorstenSuckow's Avatar
    Join Date
    Sep 2007
    Location
    Aachen, Germany
    Posts
    597
    Vote Rating
    2
    ThorstenSuckow is on a distinguished road

      0  

    Default


    Quote Originally Posted by AlxH View Post
    I would like to have both menus, too! If theres technically and logically nothing to say against it, why would you want to prevent it?
    It would be useful for example when you have other plugins like columnfilters in hd-menu of columns and this plugin for column-show/hide menu on the right.
    Your use case is completely different from mine, but that doesn't mean I want to prevent such an implementation.

    However, I'm still busy with the build tools for conjoon, so it could take a while until I come back to this ux.

  8. #38
    Sencha User Remy's Avatar
    Join Date
    Apr 2008
    Posts
    298
    Vote Rating
    0
    Remy is on a distinguished road

      0  

    Default


    +1 for the simultaneous use of existing HdMenu alongside the excellent column menu ux. Not putting pressure on MP!

  9. #39
    Ext User
    Join Date
    May 2007
    Posts
    181
    Vote Rating
    1
    akannu is on a distinguished road

      0  

    Default custom menu items

    custom menu items


    It would be great if this plugin would basically accept a custom menu structure. We have grid features like the following:
    (a) Filter bar- filter fields appear below column headers
    (b) column view bar - allows user to quickly switch between groups of columns

    we want to use this grid menu plugin so that it gives us the ability to anchor the icon, drop a menu etc...but the menus we want are Filter (on/off), Column view features such as New View, Delete view etc..that we will handle.

    Is it possible to extend this plugin to display our own menu or does it only support column hide/show?

  10. #40
    Sencha User ThorstenSuckow's Avatar
    Join Date
    Sep 2007
    Location
    Aachen, Germany
    Posts
    597
    Vote Rating
    2
    ThorstenSuckow is on a distinguished road

      0  

    Default 0.2RC1 available

    0.2RC1 available


    0.2RC1 is available from the repository.

    The plugin does now support GroupingViews. See the changelog on the first page for more information.