Page 1 of 2 12 LastLast
Results 1 to 10 of 22

Thread: MultiGrouping and Summary Grid in ExtJs4.2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Apr 2013
    Posts
    14
    Vote Rating
    4
      2  

    Default MultiGrouping and Summary Grid in ExtJs4.2

    Hi,
    here's my code multigrouping and multigrouping summary of the grid's feature in extjs4.2,
    i test it in IE7 and IE8.it run perfectly in my project.
    hope it's useful for you!

    MultiGroupingSummary4.2.zip

  2. #2
    Sencha - Documentation Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,162
    Vote Rating
    257
      0  

    Default

    Thanks for sharing with the community!
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    13
    Vote Rating
    0
      0  

    Default

    Hello! Thanks! It's very helpfull for me!
    But I see, when I add group in code behind as :
    grid.getStore().groupers.add([
    Ext.create('Ext.util.Grouper', {
    property: 'field1',
    direction: 'ASC'
    }),
    Ext.create('Ext.util.Grouper', {
    property: 'field2',
    direction: 'ASC'
    })
    ]);
    My grid apply grouping, but without direction. For example, data:
    field1: 'one', field2: 'subone' field3: 'value1'
    field1: 'one', field2: 'subtwo' field3: 'value2'
    field1: 'one', field2: 'subone' field3: 'value3'
    field1: 'one', field2: 'subone' field3: 'value4'
    field1: 'one', field2: 'subone' field3: 'value5'
    field1: 'one', field2: 'subtwo' field3: 'value6'


    then I have:
    one ->
    __subone ->
    ____value1
    __subtwo ->
    ____value2
    __subone ->
    ____value3
    ____value4
    ____value5
    __subtwo ->
    ____value6


    If I add group as :
    grid.getStore().group(['unitname','modelname'], 'ASC');
    all OK, but in groups level 2 and deeper not work collapse/expand

    Why?

  4. #4
    Sencha User
    Join Date
    Jul 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default

    please, post a complete projetc...

  5. #5
    Sencha User
    Join Date
    Aug 2007
    Posts
    33
    Vote Rating
    0
      0  

    Default

    Hi,
    It is not working for me.
    I can't create second group, only one as in grouping feature.
    I tested it in IE 8 and firefox 22.0
    Do you have any ideea what should I check?
    Thanx.

  6. #6
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Hello!!

    I am trying to use this plugin. For some reason it deosnt work. The Grid header is generated but the data is not displayed and the grouping doesnt work. Any thoughts?

  7. #7
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    78
    Vote Rating
    9
      0  

    Question

    Bill,
    With pre-defined store.groupers this works well.
    However, I would like to be able to allow the user at run-time to choose what fields to group by. If they choose "Group by this column" then I can only get one field grouping. Is there any way to allow an ADD rather than a REPLACE?

  8. #8
    Sencha User
    Join Date
    Sep 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default

    It worked for me now... i m not getting summation correct. I need to set following features:
    features: [{groupHeaderTpl:'{name}', enableGroupingMenu : false, enableNoGroups: false, ftype:'multigrouping'}] instead of ftype:'multigroupingsummary'
    Investigating more for the summation. thanks for nice api

  9. #9
    Sencha User
    Join Date
    Oct 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default

    hi! can you email me a little demo with this plugin
    my email: riostong@gmail.com

  10. #10
    Sencha User
    Join Date
    Sep 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Nice workk.. Thankss..

Page 1 of 2 12 LastLast

Posting Permissions

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