KoolReport's Forum

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

How to hide particular column from the table? #38

Open tee opened this topic on on Jul 26, 2017 - 3 comments

T
tee commented on Jul 26, 2017

Hi, I have a problem regarding column of totalqty that i used in CalculatedColumn as shown below,but i don't want this column to be displayed on table. I had tried RemoveColumn, but got error. How to solve this problem? Thanks.

K
KoolReport commented on Jul 26, 2017

In the Table, you can exclude that columns from being displaying by

Table::create(array(
    "excludedColumns"=>array("totalqty")
))

You you want to use RemoveColumn, you must use after the CalculatedColumn of qty/Tr

->pipe(new RemoveColumn(array("totalqty"))

Hope that helps.

T
tee commented on Jul 26, 2017

Four columns' data of below table are from a query, is it possible that i insert a new row in order to display total of $/Trans and Total exc GST? Total of both values must be from a query as well. How to do it? Appreciated.

T
tee commented on Jul 26, 2017

Amended: Four rows' data of below table are from a query, is it possible that i insert a new row in order to display total of Trans and $/Trans? Total of both values must be from a query as well. How to do it? Appreciated.

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