DT
DT copied to clipboard
Any packages similar to DT for python shiny?
I love using the DT package, specifically with its filter tools, in my R shiny apps. Is there anything similar in python? If not, I'm thinking of trying to a python package similar to DT that utilizes the datatables library.
datatable.net is a frontend and there was a lot of work to adapt it and create its backend (server= TRUE) in DT R package by @yihui .
When I first installed DT in early 2018, for me it was a simple adaptation of datatable.net, used many times in my R Shiny apps, but in 2022 when I implemented datatable.net with Flask Rest and VueJs 3, I rewrote a lot of things in python Flask server side (pagination, order, filter, etc ) which I thought were in datatable.net but actually written in the server side of DT R Shiny.
In 2022 a datatable server side in python didn't exist: only some of partial POCs and articles, that helped me, exist. I don't kown if datatable.net server side in python exists in the early 2025.
When you look at Python for Shiny:
- it uses
@tanstack/react-tablehttps://github.com/posit-dev/py-shiny/blob/main/js/data-frame/index.tsx#L17 - but there is a list of
todothere https://github.com/posit-dev/py-shiny/blob/main/js/data-frame/index.tsx#L84
PS: I'm a simple user
datatable.net is a frontend and there was a lot of work to adapt it and create its backend (
server= TRUE) in DT R package
Yes, it was a huge amount of work. If you don't need the server-side processing, perhaps simple-datatables would be better to experiment with than DataTables: https://github.com/fiduswriter/simple-datatables/ DataTables is powerful but also extremely complicated.
datatable.net is a frontend and there was a lot of work to adapt it and create its backend (
server= TRUE) in DT R packageYes, it was a huge amount of work. If you don't need the server-side processing, perhaps simple-datatables would be better to experiment with than DataTables: https://github.com/fiduswriter/simple-datatables/ DataTables is powerful but also extremely complicated.
Thanks! I don't need server-side processing so I'll give simple-datatables a shot!
itables is probably closest in terms of feature set, but Shiny also ships with it's own https://shiny.posit.co/py/components/outputs/data-grid/