Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-72038

Add DataTables.net library to 3rd party libraries

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Minor
    • None
    • Future Dev
    • UX
    • None

    Description

      The DataTables jQuery library (https://datatables.net/) contains so many quality of life features built-in:

      • search and filter
      • sorting
      • ajax data loading
      • paging

      If Moodle would add the datatables library, every core report table could migrate to using datatables and code that's only present to implement the above features could be removed (less code, less maintenance problems). Every table could have inbuilt optional server-side datatables enrichment (meaning adding the initializing code for the table with the id and certain options).

      Examples for tables which could probably benefit from it:

      • config log changes (automatic filtering)
      • logs/live logs
      • participants tables
      • grading tables
      • etc.

      So this ticket would be just anchoring the DataTables library in Moodle. Other tickets could then migrate any table to DataTables.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              poggenpohlda Daniel Poggenpohl
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.