YiiBooster icon indicating copy to clipboard operation
YiiBooster copied to clipboard

TbExtendedGridView multiple extendedSummary

Open Akash-Rathod opened this issue 11 years ago • 2 comments

Is it possible to have two different extendedSummary in one TbExtendedGridView like TbSumOperation and TbCountOfTypeOperation under same grid

Akash-Rathod avatar Jul 24 '14 17:07 Akash-Rathod

you can add many columns to the extended summary ... for example

'extendedSummary' => array(
    'title' => 'Expertise',
    'columns' => array(
        'hours' => array('label'=>'Total Hours', 'class'=>'TbSumOperation'),
        'language' => array(
            'label' => 'Total Expertise',
            'types' => array(
                'CSS' => array('label' => 'Css'),
                'JavaScript' => array('label' => 'Js'),
                'HTML' => array('label' => 'html')
            ),
            'class' => 'TbCountOfTypeOperation'
        )
    )
),

is this answering your question?

amrbedair avatar Jul 25 '14 12:07 amrbedair

In some way yeah it does.. i can manage it this way.. Thanks a lot.. Just in case is it also possible to create them in different div.. so I give title to each summary as well

Akash-Rathod avatar Jul 25 '14 13:07 Akash-Rathod