1. #1
    Sencha User francescoNemesi's Avatar
    Join Date
    Apr 2007
    Location
    London (UK), Milan (ITA)
    Posts
    148
    Vote Rating
    0
    francescoNemesi is on a distinguished road

      0  

    Question AggregationRowConfig and setModel

    AggregationRowConfig and setModel


    Hi,

    I have a grid with an AggregationRow, I calculate the values to display on the server side, so I use

    AggregationRowConfig<...> arc = new AggregationRowConfig<...>();
    arc.setModel(myAggregatedModel);

    This way I want the aggregation row to display my precalculated total.

    The problem is that no data is shown unless I also do

    arc.setSummaryType(SummaryType.SUM (or any other SummaryType))

    but by doing that "myAggregatedModel" is ignored and the values in the aggregation row are calculated at run time, which completely defeats the point of precalculating the aggregation server side.

    Can anybody help?

    Thanks

  2. #2
    Sencha User francescoNemesi's Avatar
    Join Date
    Apr 2007
    Location
    London (UK), Milan (ITA)
    Posts
    148
    Vote Rating
    0
    francescoNemesi is on a distinguished road

      0  

    Default Fixed

    Fixed


    The problem was due to wrong logic in my code, the totalModel was always null.

    fixed.

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