We have tested two methods ( Client-side and Server-side ).
- Client-side method uses YUI JavaScript library with the object DataTable.
- Server-side method uses AJAX calls to server.
We only have implemented it for the table that is shown when you login Moodle as Administrator and go to:
Users -> Accounts -> Browse list of users
Instructions on how to install and backup files are included in the ZIP.Tested in Moodle 1.8+ with YUI library updated to v2.2.2 (included in ZIP)
Download it: improving_moodle_tables.zip
Here is some features (using YUI library):
-> client-side pagination & sorting
-> customizable CSS (I customized it to Moodle style)
-> resizable columns with drag&drop in table header
-> change "rows perpage" parameter on the fly
-> hideable columns (right click on table header)
-> customizable CSS (I customized it to Moodle style)
-> resizable columns with drag&drop in table header
-> change "rows perpage" parameter on the fly
-> hideable columns (right click on table header)