I'm new to Moodle development, so apologies in advance if my questions sound stupid.
I'm currently trying to make a new plugin as part of my job, but I'm currently stuck.
So I'm trying to make a form with a table inside of it, the table needs to be sortable, and it should be able to be downloaded. The table also has to have a radio button group inside of it and a checkbox. I've made a mockup to illustrate what I'm going to make:
So to boil it down, I need to able to do these things:
Save the table (I think I'm going to need a form)
Sort the table
Have radio buttons and checkbox on each row
Download the table as .xlsx or .csv
How can I implement them? I've tried using Form API, flexible_table class, and html_table class, but haven't found the solution yet. I'm lost on how to integrate the table and the form.Thank you in advance.