KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Pivot table remove font from some cells #1339

Closed iRiyada opened this topic on on Mar 9, 2020 - 2 comments

iRiyada commented on Mar 9, 2020

hi, I have 2 issues:

1) I want to get rid of that row collapsing feature from certain cells, and represent like usual table
            -eg : email need not have that collapse feature.
            -may be hide that icon via css. but i dont know how to do it
2) The collapse icon font is not loading in my page.

please help

iRiyada commented on Mar 9, 2020

pivot process

.......................................
            ->pipe(new Pivot(array(
                "dimensions"=>array(
                  "row"=>"u_comm_name,u_comm_email,u_comm_phone_internal,sub_name,kpi_symbol,kpi_name,next_reading_date",

                ),
                
            )))->saveTo($node2);
            $node2->pipe($this->dataStore('user_details')); 


iRiyada commented on Mar 10, 2020

solved it via css..

Applied css to those cells which does'nt need collapse feature

 'cssClass' => array(
                'rowHeader' => function($value, $cellInfo) {

                if(($cellInfo['fieldName']==="u_comm_email")||($cellInfo['fieldName']==="u_comm_phone_internal")||($cellInfo['fieldName']==="kpi_symbol")||($cellInfo['fieldName']==="kpi_name")||($cellInfo['fieldName']==="next_reading_date"))

                    return "fa1";
                    }
            ),

.fa1 i{
    visibility:hidden !important;

}

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
solved

None