jQWidgets Forums

jQuery UI Widgets Forums Getting Started Grid Grouping

This topic contains 7 replies, has 3 voices, and was last updated by  Peter Stoev 9 years, 11 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • Grid Grouping #30828

    ssp
    Participant

    Hi,

    I’m using the grid grouping widget, where I will  group common rows with different cost values,

    I need to sum the cost values of the individual grouped rows and show it with the group header?

    Can anyone please help me, how to retrieve the sub-rows cost data and sum up in the group header in the grid grouping widget?

    Thanks & Regards,

    Sandhya S P

    Grid Grouping #30841

    Peter Stoev
    Keymaster

    Hi ssp,

    We already have a demo with Grouping and Aggregates. See here: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/groupsrenderer.htm?arctic

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Grid Grouping #30885

    ssp
    Participant

    Hi Peter,

    I have a concern regarding the above sample demo on Grouping and Aggregates,
    i.e. I will be grouping rows based on column A, whereas the sum of cost values should be done of column B.,

    Hardware | 25,000
    Hardware | 20,000
    Hardware | 5,000
    Software | 5,000
    Software | 3,000
    Software | 2,000

    Is this scenario possible using groupsrenderer function??

    Thanks & Regards,

    ssp

    Grid Grouping #30984

    ssp
    Participant

    Hi Peter,

    Hope I am clear regarding my requirement on Grouping and Aggregates,
    i.e. I will be grouping rows based on column A, whereas the sum of cost values should be done of column B.,
    eg. when Hardware is grouped, I should get the sum in column B as 25,000( 20,000 + 5,000)

    Hardware | 25,000
    Hardware | 20,000
    Hardware | 5,000
    ——————————————————————————–
    Software | 5,000
    Software | 3,000
    Software | 2,000
    ——————————————————————————–

    Is this scenario possible using groupsrenderer function??

    Thanks & Regards,

    ssp

    Grid Grouping #31005

    ssp
    Participant

    Even though I am able to sum up the grouped data using jqwidgets Grouping and Aggregates, I am supposed to display functionality of subtotal which we can see in excelsheet,

    I want to do like this
    taskA 1 5 3
    taskA 4 8 5
    sum 5 13 8
    taskB 8 1 0
    taskB 1 5 8
    sum 9 6 8

    Is this work around do able?

    Grid Grouping #31012

    ssp
    Participant

    I am trying to obtain the jqxgrid as in the following example:

    http://dev.sencha.com/playpen/gxt/totals/

    Please reply whether is it possible using your widgets?

    Thanks & Regards,

    ssp

    Grid Grouping #73035

    drv232
    Participant

    Did you find a solution to this problem of yours ssp? I need this functionality as well!

    Grid Grouping #73040

    Peter Stoev
    Keymaster

    Hi drv232,

    We do not have such totals representation in jqxGrid.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.