I'm using the Table class to render a table in my module and I want the user to be able to sort by clicking on column headers. I'm following the docs here, but when I use
set_data I get an error from
libraries/EE_Table.php stating that
EE::$cp is not defined.
Is it not possible to do sortable tables in the front-end? From the error, I guess it is only possible in the control panel.