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?
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → FA Modifications → 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?
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);
Superb. It worked. Thanks
Unless you clone the function display_dg_pager() and use it in the dimensions file, it will affect all tabular displays.
Wiki-ed it.
FrontAccounting forum → FA Modifications → Repeat Table Heading in db_pager
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.