1. #271
    Sencha Premium Member StaticVoidMain's Avatar
    Join Date
    Aug 2007
    Location
    Buenos Aires - Argentina
    Posts
    38
    Vote Rating
    0
    StaticVoidMain is on a distinguished road

      0  

    Default


    Quote Originally Posted by Hari1611 View Post
    Excellent plugin!! im using similar one on ext 3.
    Do you have any for ext 4??
    looking for such a one desperately..

    Any one please help!!

    Thanks in advance.
    Hi, Hari1611, Ext4 supports multi grouping natively now, you don't need a plugin for that, check the docs for Store.groupers.

    Hope that helps.
    Jerónimo Milea

  2. #272
    Sencha User
    Join Date
    Oct 2010
    Posts
    13
    Vote Rating
    0
    Hari1611 is on a distinguished road

      0  

    Default


    Thanks for the reply Jerónimo Milea
    Ya i found that, but thats not working..it only group data with first item in the groupers collection.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
     <head>
      <title> New Document </title>
        <link type="text/css"  href="../../Core/scripts/ext/4.0.0/resources/css/ext-all.css" rel="stylesheet"  />
        <script type="text/javascript" src="../../Core/scripts/ext/4.0.0/ext-all-debug.js" ></script>
        <script type="text/javascript">
    
            Ext.onReady(function(){
            
                var groupers = [{
                        property : 'name',
                        direction: 'ASC'
                    },{
                        property : 'email',
                        direction: 'ASC'
                    }];
                
                Ext.create('Ext.data.Store', {
                    storeId:'simpsonsStore',
                    fields:['name', 'email', 'phone'],
                    groupField: 'name',
                    groupers : [],
                    data:[
                        { 'name': 'Lisa',  "email":"lisa@simpsons.com",  "phone":"555-111-1224"  },
                        { 'name': 'Lisa',  "email":"test@simpsons.com",  "phone":"555-111-1224"  },
                        { 'name': 'Bart',  "email":"bart@simpsons.com",  "phone":"555-222-1234" },
                        { 'name': 'Bart',  "email":"test2@simpsons.com",  "phone":"555-222-1234" },
                        { 'name': 'Homer', "email":"home@simpsons.com",  "phone":"555-222-1244"  },
                        { 'name': 'Marge', "email":"marge@simpsons.com", "phone":"555-222-1254"  }
                    ],
                });
                
                var groupingFeature = Ext.create('Ext.grid.feature.Grouping', {
                    groupHeaderTpl: 'Group: {name} ({rows.length})'//, //print the number of items in the group
                    //startCollapsed: true // start all groups collapsed
                });
    
    
                var grid = Ext.create('Ext.grid.Panel', {
                    title: 'Simpsons',
                    store: Ext.data.StoreManager.lookup('simpsonsStore'),
                    columns: [
                        { header: 'Name',  dataIndex: 'name' },
                        { header: 'Email', dataIndex: 'email', flex: 1 },
                        { header: 'Phone', dataIndex: 'phone' }
                    ],
                    height: 400,
                    width: 600,
                    features: [groupingFeature],
                    renderTo: Ext.getBody()
                });
                
                grid.store.group(groupers, "DESC");
                
            });
            
    
        </script>
     </head>
    
     <body>
      
     </body>
    </html>
    Any thing wrong with the code??

  3. #273
    Sencha User
    Join Date
    Oct 2010
    Posts
    13
    Vote Rating
    0
    Hari1611 is on a distinguished road

      0  

    Question


    Already posted a thread regarding the groupers.. but i cant find the solution for my problem..link to the thread is here
    http://www.sencha.com/forum/showthre...Level-Grouping

    Any suggestion's???

  4. #274
    Sencha User psianil9's Avatar
    Join Date
    Nov 2011
    Location
    Irvine
    Posts
    3
    Vote Rating
    0
    psianil9 is on a distinguished road

      0  

    Exclamation Multilevel Groupping

    Multilevel Groupping


    So far i haven;t found any solution with Ext JS 4 for multi-level grouping. It's strange that it is consistently requested by several forums since 2009, and still not part of framework!

    Does anyone has found solution?

  5. #275
    Sencha User
    Join Date
    May 2011
    Posts
    17
    Vote Rating
    0
    leolox69 is on a distinguished road

      0  

    Default


    It takes time to load when handling large amounts of data/rows. It sometimes trigger the browser's javascript run time error. Any solution to this?

  6. #276
    Ext Premium Member yyogev's Avatar
    Join Date
    Jun 2009
    Location
    Shoham, Israel
    Posts
    196
    Vote Rating
    6
    yyogev is on a distinguished road

      0  

    Default


    Quote Originally Posted by leolox69 View Post
    It takes time to load when handling large amounts of data/rows. It sometimes trigger the browser's javascript run time error. Any solution to this?
    Yes - rewrite in ExtJS 4... Unfortunately no one has taken this challenge yet.
    In my application I am forced to give up the use of this extension and use single-level grouping as it is blocking my move to Ext 4.
    Yaron Yogev

    IT Software Developer

  7. #277
    Sencha User justusvm's Avatar
    Join Date
    May 2010
    Location
    Chennai, TN
    Posts
    10
    Vote Rating
    0
    justusvm is on a distinguished road

      0  

    Default


    Please update the multigrouping in grid using extjs 4

  8. #278
    Ext JS Premium Member roman.savko's Avatar
    Join Date
    Mar 2011
    Location
    Kiev
    Posts
    26
    Vote Rating
    2
    roman.savko is on a distinguished road

      0  

    Default


    Can anyone adapt Multilevel grouping plugin for ExtJs 4? Please!!!!

  9. #279
    Sencha User
    Join Date
    May 2011
    Posts
    17
    Vote Rating
    0
    leolox69 is on a distinguished road

      0  

    Default


    Quote Originally Posted by yyogev View Post
    Yes - rewrite in ExtJS 4... Unfortunately no one has taken this challenge yet.
    In my application I am forced to give up the use of this extension and use single-level grouping as it is blocking my move to Ext 4.
    I have now a solution to prevent javscript runtime errors. Instead of reloading the store, just use the Ext.Ajax.request to get the JSON data. I then use the Ext.TaskMgr to add the records using store.add(record) method.
    Code:
    revenue_audit.app.rowDataDef = Ext.data.Record.create([
                        {name: 'country', type: 'string'},
                        {name: 'customer', type: 'string'},
                        {name: 'progproj', type: 'string'},
                        {name: 'activity', type: 'string'},
                        {name: 'activity_count'},
                        {name: 'frequency'},
                        {name: 'date'},
                        {name: 'qty'},
                        {name: 'price'},
                        {name: 'amt'},
                        {name: 'encoded_by'},
                        {name: 'date_encoded'},
                        {name: 'modified_by'},
                        {name: 'date_modified'}
                    ]);
    
    store = new Ext.ux.grid.MultiGroupingStore({
                        reader: revenue_audit.app.reader,
                        sortInfo: {field: 'customer', direction: 'ASC'},
                        groupField: ['country', 'customer', 'progproj', 'activity']
    });
    
    Ext.Ajax.timeout = 3600000;
                    Ext.Ajax.request({
                        url: "data.php",
                        params: params,
                        method:'POST', 
                        success: function(f, a)
                        {
                             var decode = Ext.util.JSON.decode(f.responseText);
                            
                            if( !decode.data ){
                                return;
                            }
                            if( decode.data.length == 0 ){
                                return;
                            }
                            
                            var r = 0;
                            var task = {
                                interval: 1,
                                scope: this,
                                run: function(){
                                    var Data = decode;
                                    if( r == Data.data.length ){
                                        return;
                                    }
                                    
                                    var rec = new rowDataDef({
                                        'country': Data.data[r].country,
                                        'customer': Data.data[r].customer,
                                        'progproj': Data.data[r].progproj,
                                        'activity': Data.data[r].activity,
                                        'activity_count': Data.data[r].activity_count,
                                        'frequency': Data.data[r].frequency,
                                        'date': Data.data[r].date,
                                        'qty': Data.data[r].qty,
                                        'price': Data.data[r].price,
                                        'amt': Data.data[r].amt,
                                        'encoded_by': Data.data[r].encoded_by,
                                        'date_encoded': Data.data[r].date_encoded,
                                        'modified_by': Data.data[r].modified_by,
                                        'date_modified': Data.data[r].date_modified
                                    });
                                    
                                    store.add(rec);
                                    r++;
                                }
                            };
                            
                            Ext.TaskMgr.start( task );
                        },
                        failure: function(f,a){}
                    });

    I learned it from here http://werxltd.com/wp/2009/07/03/cleaning-up-unresponsive-script-errors/




  10. #280
    Sencha User justusvm's Avatar
    Join Date
    May 2010
    Location
    Chennai, TN
    Posts
    10
    Vote Rating
    0
    justusvm is on a distinguished road

      0  

    Default


    Hi leolox69
    Kindly post the code for multigroupingstore and grid

Thread Participants: 115

  1. galdaka (34 Posts)
  2. karimchebani (1 Post)
  3. mdissel (2 Posts)
  4. mystix (3 Posts)
  5. wayne_o (8 Posts)
  6. akannu (1 Post)
  7. tchitani (8 Posts)
  8. timmy (1 Post)
  9. dhenning23 (1 Post)
  10. DServe (1 Post)
  11. tdikarim (4 Posts)
  12. Nam (1 Post)
  13. ljkmchale (8 Posts)
  14. StaticVoidMain (2 Posts)
  15. sawan (1 Post)
  16. vicirst (1 Post)
  17. jaquet (1 Post)
  18. jerrybrown5 (4 Posts)
  19. ut_paule (10 Posts)
  20. nnextjs (1 Post)
  21. sergeiw (1 Post)
  22. st_gross (1 Post)
  23. emily (5 Posts)
  24. ENEMYoftheSUN (1 Post)
  25. smarttdv (1 Post)
  26. JDevloper (1 Post)
  27. Maharshi (2 Posts)
  28. pbuyle (2 Posts)
  29. cujo13 (2 Posts)
  30. johnstontrav (1 Post)
  31. Jack_S (8 Posts)
  32. DamienValentine (7 Posts)
  33. source78 (1 Post)
  34. cgs1999 (1 Post)
  35. Karmaresh (5 Posts)
  36. praveen.infra (2 Posts)
  37. pops (1 Post)
  38. mcouillard (2 Posts)
  39. maquejp (2 Posts)
  40. bvutukur (3 Posts)
  41. sim (2 Posts)
  42. tBSTAR (4 Posts)
  43. randymay (5 Posts)
  44. Rothariger (1 Post)
  45. shankys_4u (3 Posts)
  46. hpandey (1 Post)
  47. miha (3 Posts)
  48. wp.joju (4 Posts)
  49. oliverseitz (1 Post)
  50. tklever (1 Post)
  51. codingvista (3 Posts)
  52. iamdman (2 Posts)
  53. rene.klatt (1 Post)
  54. yrobla (1 Post)
  55. dmichael (1 Post)
  56. Helton Gon (1 Post)
  57. giovanni (2 Posts)
  58. nacha (1 Post)
  59. Tewr (2 Posts)
  60. snowy8781 (1 Post)
  61. rpnoble (1 Post)
  62. denyall (2 Posts)
  63. vladcd (3 Posts)
  64. rickonodera (1 Post)
  65. yyogev (21 Posts)
  66. daltonjorge (6 Posts)
  67. janasri (1 Post)
  68. dbojdo (1 Post)
  69. Azadi (1 Post)
  70. isit.gd (4 Posts)
  71. blackghost (3 Posts)
  72. dileep singhal (8 Posts)
  73. mrbeig9 (2 Posts)
  74. rupidas (1 Post)
  75. xiaofei (1 Post)
  76. extjsnewb (3 Posts)
  77. nestore2k (1 Post)
  78. TonyBones (2 Posts)
  79. Haron (1 Post)
  80. thorben (1 Post)
  81. amsoft (1 Post)
  82. paivajose (1 Post)
  83. Karthikeyan.rajmohan (1 Post)
  84. alexpotemkin (1 Post)
  85. cristinadelosa (1 Post)
  86. justusvm (4 Posts)
  87. Kunha (1 Post)
  88. rogerio.carrasqueira (1 Post)
  89. krishnaswamy (2 Posts)
  90. jdamani (1 Post)
  91. chavocarlos (2 Posts)
  92. raghuramgreddy (1 Post)
  93. garrythebest (1 Post)
  94. Komal Vaswani (1 Post)
  95. Hari1611 (3 Posts)
  96. sri_dev (1 Post)
  97. Ferny (1 Post)
  98. mosull2 (1 Post)
  99. Manjula (1 Post)
  100. roman.savko (2 Posts)
  101. grace.lawrence (3 Posts)
  102. leolox69 (5 Posts)
  103. fvchapa (1 Post)
  104. ilmcon (1 Post)
  105. pardhu (1 Post)
  106. psianil9 (1 Post)
  107. Golden.Vulture (1 Post)
  108. tempvalue (1 Post)
  109. Vishnu C (1 Post)
  110. shrujan07 (2 Posts)
  111. raffyaslanbeily (1 Post)
  112. srautpyaa (1 Post)
  113. ocr (1 Post)
  114. henriquebotega (1 Post)
  115. rajkumargvrs (2 Posts)

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar