Hybrid View

  1. #1
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,711
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default [3.x] Ext.ux.grid.LockingGroupingGridView

    [3.x] Ext.ux.grid.LockingGroupingGridView


    Here's a combination of the LockingGridView and the regular GroupingView which comes in handy if you want both the locking and grouping functionality at the same time. Tested in IE7/8, FF3 and Safari. To test it, just extract the zip file into your Ext JS examples folder. This extension is the base for the Ext Gantt



    Enjoy!

    [UPDATE 2010-10-27] Ext JS 3.3 support added
    Attached Files

  2. #2
    Sencha User khebs@live.com's Avatar
    Join Date
    Mar 2008
    Posts
    83
    Vote Rating
    0
    khebs@live.com is on a distinguished road

      0  

    Default


    hey mankz, iv been looking to your Gantt, how do you make the multiple column headers with locking is it with the stock ux? show your magic.. ^^

  3. #3
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,711
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    That's basically some magic based on Condor's groupingheader plugin adapted for the lockinggridview. When I have more time I'll look at dropping into the UX section too!

  4. #4
    Sencha User khebs@live.com's Avatar
    Join Date
    Mar 2008
    Posts
    83
    Vote Rating
    0
    khebs@live.com is on a distinguished road

      0  

    Default


    thanks mankz, looking forward for it...it'll be nice

  5. #5
    Ext User
    Join Date
    Feb 2010
    Posts
    20
    Vote Rating
    0
    brycekmartin is on a distinguished road

      0  

    Default small bug?

    small bug?


    Great job by the way. I'm going to be testing this further with the groupSummary plugin and the gridSummary plugin to see if this will work for a project I'm working on.

    I may have found a bug. If you Unlock the grid then you lose the grouped column. So for instance. Invoke the context menu from Company and choose Unlock. The Group1, Group2, etc headings disappear and only reappear if you show the column. But I don't want to show the column, I want it grouped by the column. Shouldn't Lock/Unlock leave the look of the grid unchanged except the fact the scroll bar now extends the entire grid?

    Sorry for the long winded post. Just wanted to make sure I hit the angles that ran through my head.

    great work
    bryce

  6. #6
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,711
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    You are right, this is kind of a special case. The grouping header is only shown in the locked part of the grid, I guess I could check if no locked columns exist and render the header into the unlocked group in that case. Good catch

    Code in original zip package has been updated with this fix!

  7. #7
    Sencha User
    Join Date
    Jul 2009
    Posts
    12
    Vote Rating
    0
    amghw is on a distinguished road

      0  

    Default UX for Locking + Grouping + Multiheader

    UX for Locking + Grouping + Multiheader


    Quote Originally Posted by mankz View Post
    That's basically some magic based on Condor's groupingheader plugin adapted for the lockinggridview. When I have more time I'll look at dropping into the UX section too!
    Hi mankz,
    I am working on a project that requires all 3 capabilities (Locking + Grouping + Multiheader).
    Is it possible for you to create this user extension?

    Thanks!

  8. #8
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,711
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    Possible in theory, yes - in real life not so much. Why don't you try using Ext 4 which theoretically should have these capabilities...

  9. #9
    Sencha User
    Join Date
    Jul 2009
    Posts
    12
    Vote Rating
    0
    amghw is on a distinguished road

      0  

    Default


    Hi mankz,
    Thanks for the reply.

    I tried in Ext 4 (see attached).
    Multiheader and Locked work together, but the grouping does not work.
    I didn't try your plugin with Ext 4, but I am assuming that it's not compatible.
    Can you upgrade it to 4?

    Thanks!
    Attached Files

  10. #10
    Sencha User
    Join Date
    Feb 2008
    Posts
    3
    Vote Rating
    0
    asadsarfrazbhatti is on a distinguished road

      0  

    Default column header group

    column header group


    Hi,
    can we use column header group and column looking together..
    Regards,
    Asad