1. #1
    Sencha User BulletzBill's Avatar
    Join Date
    Mar 2010
    Location
    New York
    Posts
    138
    Vote Rating
    0
    BulletzBill is on a distinguished road

      0  

    Default Can't get groupingSummary working with "remoteRoot" configuration

    Can't get groupingSummary working with "remoteRoot" configuration


    What I had for my grids to enable remote grouping summary data was working in 4.0.7 but no longer does in 4.1. The summary row is being displayed in the grid for each group, but none of the summary data returned by the server is being displayed in their respective columns. My grid config is as follows:

    PHP Code:
    ... 
    features: [
        {
            
    ftype'groupingsummary',
            
    groupHeaderTpl'{name}',
            
    enableGroupedHeadertrue,
            
    enableGroupingMenufalse,
            
    remoteRoot'summaryData'
        
    }
    ],
    .... 
    And the JSON returned by the server is like:
    PHP Code:
    {
        
    total48,
        
    results: [ ... ],
        
    summaryData: {
            
    'groupingValue1': {
                
    'dataIndexName1'43242,
                
    'dataIndexName2'85,
                ...
            },
            ...
        }

    And thats it. Am I missing any other configuration or anything in order to get this working in 4.1?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Do you have groupField set in your store? Can you provide more details?

    Regards,
    Scott

  3. #3
    Sencha User BulletzBill's Avatar
    Join Date
    Mar 2010
    Location
    New York
    Posts
    138
    Vote Rating
    0
    BulletzBill is on a distinguished road

      0  

    Default


    Quote Originally Posted by scottmartin View Post
    Do you have groupField set in your store? Can you provide more details?

    Regards,
    Scott
    Yeah, I do have the groupField set in the store configuration, and the grid rows are being grouped correctly when the store is loaded, just no values in the summary row. FYI, I am able to get values to display in the summary row if i set a summaryType in any of the column configs to "sum", "average" ect, however as these are client-side calculated values its not what I want when using the remoteRoot config option.

    Is there any other info I can provide that would help troubleshoot this?

    Thanks

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi