qgrid
qgrid copied to clipboard
using qgrid without opening notebook and create interactive table in offline html
Hi, this is not an issue but a question if there is already an answer or a suggestion/feedback.
I am trying to see if there is an option to create these interactive tables from a dataframe without having to open a notebook in an html file. This way it is easy to create them within the script and also easily shareable.
import qgrid from ipywidgets.embed import embed_minimal_html
view = qgrid.show_grid(annotated_df) embed_minimal_html('qgrid.html', views=[view], title='QGrid')
but the resulting HTML is blank.
pivottablejs work jus as I mentioned above but qgrid is much simpler and best. Currently, I do not see anything else that does this. This feature would be very helpful for many people.
This is related: https://github.com/quantopian/qgrid/issues/53
qgrid needs a Python kernel for filtering, sorting, etc. It doesn't work in a static HTML file. You can use Binder and Voila to share interactive versions of a notebook.