Jam.py documentation

hide_columns

hide_columns(self, col_list)

domain: client

language: python

class Report class

Description

Use hide_columns method to hide some columns defined in the report template.

The col_list parameter specifies which columns should be hidden. This is a list of integers or letters, defining the position of the report columns.

Use this method in the on_parsed event handler.

Example

def on_parsed(report):
    report.hide_columns(['A', 'C')
#    report.hide_columns([1, 3])