Comments (8)
cc @ellisonbg @fperez @SylvainCorlay
from qgrid.
@blink1073 this looks awesome! Making QGrid a widget is definitely something we're interested in. In fact, my first inclination would be to say that the widget view should be the default interaction mode. Do you imagine use-cases where you wouldn't want the interactive components? Does the widget view incur substantial performance overhead?
At any rate, I'd love to see a PR with what you have so far.
from qgrid.
cc @TimShawver
from qgrid.
This is really cool!
from qgrid.
@ssanderson, it has about the same overhead, but widget outputs are not stored within the notebook file, which means you lose the ability to interact with the data in a static view.
from qgrid.
but widget outputs are not stored within the notebook file,
Ah, that makes sense. There are cases where that's desirable though: notebooks with QGrid outputs can be much larger than normal notebooks, because we're rendering thousands of rows of data as in-line javascript object literals. I imagine that this could be made substantially more efficient by sending the data over a socket in a more appropriate serialization format and then doing the conversion to objects in Javascript.
w/r/t preserving the outputs, I wonder if what this wants is something like an Embed or a Render button that renders the output statically and writes it as HTML. That way you could work with the widget view interactively, and when you have an output you want to share/persist, you could hit Embed and have the widget view HTML/JS replaced with a static view of the data at the point when you hit the button.
I don't have a great sense of how hard that would be with the current state of the widget system, but it seems like it should work conceptually?
from qgrid.
See #27.
from qgrid.
PR has been merged to master.
from qgrid.
Related Issues (20)
- grid does not support add_rows on an empty dataframe. Could we stop the user from removing the last row?
- qgrid incompatible with ipywidgets==8.0.0a6 due to decorator usage HOT 1
- Qgrid working with Modern Jupyter Lab (3.2 and beyond)
- Set Formatter for Column Definitions
- AttributeError: 'DataFrame' object has no attribute 'map'
- [Security] Workflow main.yml is using vulnerable action actions/checkout
- missing 1 required positional argument: 'widget' HOT 3
- qgrid not working in Binder notebook
- update for ipywidgets 8 compatibility HOT 1
- qgrid post link fails on environment build HOT 2
- REPO IS NO LONGER MAINTAINED AND DOES NOT SUPPORT JUPYTERLAB>=3.0.0 HOT 8
- QGrid is not working with NB-viewer.
- Internet connection required for qgrid 1.1.3 HOT 1
- Here, working version HOT 12
- filter_changed is not recognised in .on() HOT 1
- "ImportError: cannot import name 'Mapping' from 'collections' (C:\ProgramData\anaconda3\lib\collections\__init__.py)"
- post-link script failed for package conda-forge::qgrid-1.3.1-py39hcbf5309_2
- Filter not working HOT 1
- Detecting row selected in Python shiny
- Cannot edit the table using responsive setting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qgrid.