Info
Content

Move the Download Options Below a Table


If you are working with flexibile tables (lib/tablelib.php) in Moodle and have table download enabled, you can move the “Download table data as” select and button below the table by adding the following line before finishing your table setup:

$table->show_download_buttons_at(array(TABLE_P_BOTTOM));

By default they appear above the table but this doesn’t always look so good and takes up screen space.

No Comments
Back to top