jQWidgets Forums

jQuery UI Widgets Forums Grid Grid Aggregates

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid Aggregates #63088

    serdar88
    Participant

    I have a grid with server side paging and i set a column’s aggregate [‘avg’].
    For the first page it calculates the aggregated value correctly.
    But when i go to the second page aggregated value calculates wrongly.
    It divides the second page’s total value to total row count.
    But in the first page it divides the first page’s total value to first page’s row count.

    Thank you.

    Grid Aggregates #63118

    Peter Stoev
    Keymaster

    Hi serdar88,

    If you use server paging, you will have to implement your own aggregating functions. The reason is that you load your data on demand. The built-in aggregates can aggregate only data which is loaded and yours isn’t.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.