jQWidgets Forums

jQuery UI Widgets Forums Grid Aggregate section per group row

This topic contains 4 replies, has 2 voices, and was last updated by  Peter Stoev 11 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Aggregate section per group row #54850

    Silvio
    Participant

    Hey guys,

    I have this jsfiddle of a grid with grouping and an aggregate, but I would like to have the aggregates rendering per group. On my example, I am always calculating the price summation no matter the column that was grouped by.

    This would allow me to make the grid definition simple enough to have the aggregation defined only on the column definition, instead of having to write it again on the group renderer.

    So, to visualize what I would like to have:
    group: first name
    >First name: xxx
    -row inside with regular cols
    -row inside with regular cols
    -row inside with regular cols
    >aggregate bar with total on qty and price per group
    >First name: yyy
    -row inside with regular cols
    -row inside with regular cols
    -row inside with regular cols
    >aggregate bar with total on qty and price per group

    finally an aggregate bar with grand total on qty and price

    Is there a way to do this ?

    Thanks in advance for the help

    Aggregate section per group row #54859

    Peter Stoev
    Keymaster

    Hi Silvio,

    Unfortunately, there’s no aggregates section per group row. The agggregates can be displayed only at the bottom of the Grid. In the case of Grouped rows, you can just modify the Group Headers as you already do in order to display custom aggregates.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Aggregate section per group row #54920

    Silvio
    Participant

    Thanks for the reply.

    Aggregate section per group row #54977

    Silvio
    Participant

    Peter,

    Do you believe it to be possible once I have the source code ? My company is working on getting a license.

    Thanks

    Aggregate section per group row #54979

    Peter Stoev
    Keymaster

    Hi Silvio,

    Implementation of that feature will require many changes in the Grid’s Rendering logic in Grouping mode. You will have to know very well how the rendering works and taking the fact that the code base of the Grid is ~20000 lines, I assume that it would not be very easy task.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.