KoolReport's Forum

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

Hide Columns in Table #755

Closed Ahmed Bucheeri opened this topic on on Mar 20, 2019 - 2 comments

Ahmed Bucheeri commented on Mar 20, 2019

Hi there

I want to hide column based on data selection, I have used the below but i did not work

    "excludedColumns"=>array(function($row){
      return "AttendeeName";
    }),
KoolReport commented on Mar 20, 2019

The "excludedColumns" accept list of columns you want to exclude, so based on data selection, you can build the list of excluded columns and enter to the property.

"excludedColumns"=>array("AttendeeName")
Ahmed Bucheeri commented on Mar 20, 2019

Thanks for advise

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