I’ve been trying to setup front-end sorting for a DataTable I dynamically create. Following the instructions from the guide, it seemed the only requirement was sorting=True or sorting=‘fe’ but I can’t make it work.
The DataTable is generated in the layout
The callback takes the DataTable as input and fires output in another Div
There is no callbact output towards the DataTable
And yet… if I remove the callback from the code, the sorting/filtering stops working and it becomes impossible to interact with the table.
Now I could refer to part4 of the guide a create a callback for sorting/filtering (which I will do if I don’t find a solution). However, since there are few rows in this table (~10) I figured front-end process would be good enough.
Any help would be greatly appreciated
EDIT : for the record, my versions are: dash==0.30.0 dash-html-components==0.13.2 dash-core-components==0.38.0 dash-table==3.1.6
Alright, thanks for the info!
I read the topic you linked and figured “what if I create a callback that does nothing”
I created a callback that take my datatable as input and does nothing (‘pass’). Because the datatable is now linked to a callback, the ‘front-end sorting’ is functionnal. I’ll symply remove this callback once the bug is fixed