jQuery UI Widgets Forums Grid Aggregates Renderer

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 9 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Aggregates Renderer #68111

    rahisarm
    Participant

    Hi Team.
    Im using jqxGrid and aggregates.But for me the space for aggregatescolumn in the statusbar is not enough.
    Is there any way to increase space in statusbar.I need aggregates to lie under corresponding columns.

    With Regards
    Rahis Arm

    Aggregates Renderer #68113

    Dimitar
    Participant

    Hi Rahis Arm,

    To achieve this, you can set the statusbarheight property to an appropriate number. Here is an example: http://jsfiddle.net/jqwidgets/MsBb9/.

    Best Regards,
    Dimitar

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

    Aggregates Renderer #68128

    rahisarm
    Participant

    Hi Dimitar..
    I already set the height.I need to increase the width of the aggregates of each columns in statusbar
    with Regards
    Rahis ARM

    Aggregates Renderer #68130

    Dimitar
    Participant

    Hi Rahis ARM,

    In this case you need to increase the width of the columns with aggregates, e.g.:

    {
        text: 'In Stock',
        datafield: 'available',
        columntype: 'checkbox',
        width: 300,
        aggregates: [{
            'In Stock': function(aggregatedValue, currentValue) {
                if (currentValue) {
                    return aggregatedValue + 1;
                }
                return aggregatedValue;
            }
        }, {
            'Not In Stock': function(aggregatedValue, currentValue) {
                if (!currentValue) {
                    return aggregatedValue + 1;
                }
                return aggregatedValue;
            }
        }]
    }

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.