hk_reportsectionpair

Contains a header and a footer section.

Inherits from hk_class.

headersection()

Returns the headersection of type hk_reportsection.

footersection()

Returns the footersection of type hk_reportsection.

set_sections([use_headersection[,use_footersection]])

Sets the sections. If 'use_headersection' is true a header section will be created else destroyed. If 'use_footersection' is true a footer section will be created else destroyed.

init_sections()

Brings the sections into their initial state.

set_columnname(colname)

The column name that will be set for grouping of the reportsections

columnname()

returns the grouping column name

set_ascending_order(ascending)

Sets whether the grouped data should be sorted in ascending or in descending order. If 'ascending' is True it is ascending else descending.

ascending_order()

returns True if the sorting order is ascending.