KoolReport's Forum

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

Bold text in merged colums? #83

Open zenon opened this topic on on Aug 21, 2017 - 1 comments

zenon commented on Aug 21, 2017

Hi,

As seen, column A is merged using Calculated Column. Is it possible to make the '1' bold only?

Appreciate your help.

Thanks.

KoolReport commented on Aug 21, 2017

You can do:

->pipe(new CalculatedColumn(array(
    "newColumn"=>array(
        "exp"=>function($row){
            return "<b>".$row["no"]."</b>".$row["percent"];
        },
        "type"=>"string"
    )
)))

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
help needed

None