Stephane Laurent does a bit of work:
The ‘RowReorder’ extension of datatables is available in the DT package. This extension allows to reorder the rows of a DT table by dragging and dropping. However, if you enable this extension in a Shiny app for a table using the server-side processing (option
server=TRUE
inrenderDT
), that won’t work: each time the rows are reordered, they will jump back to their original locations.
Read on to see what you need to do in that case, as well as an example of how to do it. H/T R-Bloggers.
Comments closed