Topic: Repeat Table Heading in db_pager

I want a modification to repeat the column headings in Dimension Inquiry page after every 10 records.

How to do this?

www.boxygen.pk

Re: Repeat Table Heading in db_pager

The function display_db_pager() defined in includes/ui/db_pager_view.inc is responsible for almost all tabular paged displays in FA. Clone the function and call it instead in the dimensions/inquiry/search_dimensions.php if you do not want such a modification in all table displays. The code that displays the header is:

table_header($headers);

Try line 85 in it as:

if ($line_no > 1 && $line_no % 10 === 0) table_header($headers);

Re: Repeat Table Heading in db_pager

Superb. It worked. Thanks

www.boxygen.pk

Re: Repeat Table Heading in db_pager

Unless you clone the function display_dg_pager() and use it in the dimensions file, it will affect all tabular displays.

Wiki-ed it.